Index: src/backend/utils/mmgr/mcxt.c
===================================================================
RCS file: /home/alvherre/Code/cvs/pgsql/src/backend/utils/mmgr/mcxt.c,v
retrieving revision 1.56
diff -c -p -r1.56 mcxt.c
*** src/backend/utils/mmgr/mcxt.c	15 Oct 2005 02:49:36 -0000	1.56
--- src/backend/utils/mmgr/mcxt.c	17 Jan 2009 16:21:03 -0000
*************** repalloc(void *pointer, Size size)
*** 627,633 ****
   *
   * TODO: investigate supporting inlining for some non-GCC compilers.
   */
! #ifndef __GNUC__
  
  MemoryContext
  MemoryContextSwitchTo(MemoryContext context)
--- 627,633 ----
   *
   * TODO: investigate supporting inlining for some non-GCC compilers.
   */
! #if !defined __GNUC__ || defined USE_ASSERT_CHECKING
  
  MemoryContext
  MemoryContextSwitchTo(MemoryContext context)
Index: src/include/utils/palloc.h
===================================================================
RCS file: /home/alvherre/Code/cvs/pgsql/src/include/utils/palloc.h,v
retrieving revision 1.34
diff -c -p -r1.34 palloc.h
*** src/include/utils/palloc.h	15 Oct 2005 02:49:46 -0000	1.34
--- src/include/utils/palloc.h	17 Jan 2009 16:18:20 -0000
*************** extern void *repalloc(void *pointer, Siz
*** 74,80 ****
   * MemoryContextSwitchTo can't be a macro in standard C compilers.
   * But we can make it an inline function when using GCC.
   */
! #ifdef __GNUC__
  
  static __inline__ MemoryContext
  MemoryContextSwitchTo(MemoryContext context)
--- 74,80 ----
   * MemoryContextSwitchTo can't be a macro in standard C compilers.
   * But we can make it an inline function when using GCC.
   */
! #if defined __GNUC__ && !defined USE_ASSERT_CHECKING
  
  static __inline__ MemoryContext
  MemoryContextSwitchTo(MemoryContext context)
