diff options
Diffstat (limited to 'gcc/ada/decl.c')
-rw-r--r-- | gcc/ada/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c index ff2927fe642..e6865d292bc 100644 --- a/gcc/ada/decl.c +++ b/gcc/ada/decl.c @@ -6774,7 +6774,7 @@ annotate_value (tree gnu_size) /* Save the result in the cache. */ if (h) { - *h = ggc_alloc (sizeof (struct tree_int_map)); + *h = GGC_NEW (struct tree_int_map); (*h)->base.from = gnu_size; (*h)->to = ret; } |