diff options
Diffstat (limited to 'gcc/alloc-pool.c')
-rw-r--r-- | gcc/alloc-pool.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c index 5a1ada7..fdc047d 100644 --- a/gcc/alloc-pool.c +++ b/gcc/alloc-pool.c @@ -140,11 +140,10 @@ create_alloc_pool (const char *name, size_t size, size_t num) /* Now align the size to a multiple of 4. */ size = align_eight (size); - if (ENABLE_CHECKING) - { - /* Add the aligned size of ID. */ - size += offsetof (allocation_object, u.data); - } +#ifdef ENABLE_CHECKING + /* Add the aligned size of ID. */ + size += offsetof (allocation_object, u.data); +#endif /* Um, we can't really allocate 0 elements per block. */ gcc_checking_assert (num); |