projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7460158
)
* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
author
Neil Booth
<neil@daikokuya.co.uk>
Mon, 12 May 2003 21:26:11 +0000
(21:26 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Mon, 12 May 2003 21:26:11 +0000
(21:26 +0000)
From-SVN: r66739
gcc/ChangeLog
patch
|
blob
|
history
gcc/alloc-pool.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 1962979daa0afce7f537226781da91cf463f025a..084da850770c6394b6a012aede9218d83af3f291 100644
(file)
--- 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 cb25b9ef061ca7e5212078a71068e2afb4d98748..87b05ccd7f3f0989f2767f12466414ace6a40bf6 100644
(file)
--- 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. */