aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2014-02-07 03:14:58 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2014-02-07 02:14:58 +0000
commitb3bb0eb9c0a89c9ec197f2f0a7c2e6a8d3f004af (patch)
treec97833ceb01a286f01ced7b954c325c8d001d804 /gcc/ggc.h
parente2f0f5f70455606bf951e22457184e6bf18d580f (diff)
downloadgcc-b3bb0eb9c0a89c9ec197f2f0a7c2e6a8d3f004af.zip
gcc-b3bb0eb9c0a89c9ec197f2f0a7c2e6a8d3f004af.tar.gz
gcc-b3bb0eb9c0a89c9ec197f2f0a7c2e6a8d3f004af.tar.bz2
parser.c (synthesize_implicit_template_parm): Use grow_tree_vec.
* parser.c (synthesize_implicit_template_parm): Use grow_tree_vec. * ggc.h (ggc_internal_cleared_alloc): New macro. * vec.h (vec_safe_copy): Handle memory stats. * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc. * target-globals.c (save_target_globals): Likewise. From-SVN: r207588
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h
index 49f0c37..55f3fe9 100644
--- a/gcc/ggc.h
+++ b/gcc/ggc.h
@@ -146,6 +146,7 @@ extern size_t ggc_round_alloc_size (size_t requested_size);
/* Allocates cleared memory. */
extern void *ggc_internal_cleared_alloc_stat (size_t MEM_STAT_DECL)
ATTRIBUTE_MALLOC;
+#define ggc_internal_cleared_alloc(s) ggc_internal_cleared_alloc_stat (s MEM_STAT_INFO)
/* Resize a block. */
extern void *ggc_realloc_stat (void *, size_t MEM_STAT_DECL);