diff options
Diffstat (limited to 'gcc/tree-ssanames.c')
-rw-r--r-- | gcc/tree-ssanames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index 9c61a3f..899ac82 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -266,7 +266,7 @@ duplicate_ssa_name_ptr_info (tree name, struct ptr_info_def *ptr_info) if (!ptr_info) return; - new_ptr_info = ggc_alloc (sizeof (struct ptr_info_def)); + new_ptr_info = GGC_NEW (struct ptr_info_def); *new_ptr_info = *ptr_info; if (ptr_info->pt_vars) |