diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 21:26:11 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-12 21:26:11 +0000 |
commit | 3573ec0438341aa84bd4e2ba59116ddcfe348d04 (patch) | |
tree | cca7ccdbf12cbdaf115e6042b457144f8c853479 /gcc | |
parent | 36b7e0e778a70ee095f4021edee57f9543d47841 (diff) | |
download | gcc-3573ec0438341aa84bd4e2ba59116ddcfe348d04.tar.gz |
* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66739 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/alloc-pool.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1962979daa0..084da850770 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-05-12 Neil Booth <neil@daikokuya.co.uk> + + * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards. + 2003-05-12 Andreas Schwab <schwab@suse.de> * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c index cb25b9ef061..87b05ccd7f3 100644 --- a/gcc/alloc-pool.c +++ b/gcc/alloc-pool.c @@ -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. */ |