diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-13 17:51:34 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-13 17:51:34 +0000 |
commit | c8b8af718c7b79ac11d346a220fc90670a293c6f (patch) | |
tree | 6394fa371a1a4a04fba45b009dbafb57a6ce01b3 /gcc/alloc-pool.h | |
parent | e4da1e17ea39bb36c9f4f81a3b9b81125f4f4ece (diff) | |
download | gcc-c8b8af718c7b79ac11d346a220fc90670a293c6f.zip gcc-c8b8af718c7b79ac11d346a220fc90670a293c6f.tar.gz gcc-c8b8af718c7b79ac11d346a220fc90670a293c6f.tar.bz2 |
ggc.h (ggc_internal_alloc_stat, [...]): Add ATTRIBUTE_MALLOC.
* ggc.h (ggc_internal_alloc_stat, ggc_alloc_typed_stat,
ggc_internal_cleared_alloc_stat, ggc_cleared_alloc_htab_ignore_args,
ggc_cleared_alloc_ptr_array_two_args, ggc_splay_alloc): Add
ATTRIBUTE_MALLOC.
* alloc-pool.h (pool_alloc): Likewise.
* final.c (final): Do not loop to find max_uid.
From-SVN: r189470
Diffstat (limited to 'gcc/alloc-pool.h')
-rw-r--r-- | gcc/alloc-pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alloc-pool.h b/gcc/alloc-pool.h index fa9848a..4593b70 100644 --- a/gcc/alloc-pool.h +++ b/gcc/alloc-pool.h @@ -61,7 +61,7 @@ extern alloc_pool create_alloc_pool (const char *, size_t, size_t); extern void free_alloc_pool (alloc_pool); extern void empty_alloc_pool (alloc_pool); extern void free_alloc_pool_if_empty (alloc_pool *); -extern void *pool_alloc (alloc_pool); +extern void *pool_alloc (alloc_pool) ATTRIBUTE_MALLOC; extern void pool_free (alloc_pool, void *); extern void dump_alloc_pool_statistics (void); #endif |