This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

alloc-pool.c: Fix --disable-checking bootstrap


Yah, so I use --disable-checking sometimes.  I've applied this
as obvious.

Neil.

	* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.

Index: alloc-pool.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/alloc-pool.c,v
retrieving revision 1.3
diff -u -p -r1.3 alloc-pool.c
--- alloc-pool.c	12 May 2003 05:16:51 -0000	1.3
+++ alloc-pool.c	12 May 2003 21:23:39 -0000
@@ -71,8 +71,10 @@ typedef struct allocation_object_def
 #define USER_PTR_FROM_ALLOCATION_OBJECT_PTR(X)				\
    ((void *) (((allocation_object *) (X))->u.data))
 
+#ifdef ENABLE_CHECKING
 /* Last used ID.  */
 static ALLOC_POOL_ID_TYPE last_id;
+#endif
 
 /* Create a pool of things of size SIZE, with NUM in each block we
    allocate.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]