X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Ftree-ssanames.c;h=899ac82b0d19460c580700defc7f59941839c9a0;hb=7ec301204b03623cfaf5f89545295f33e4c811b7;hp=07b83f831afca75693d62de958d8045f91219d9b;hpb=5fa09f4d9126f19250086a991c616400ef730633;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index 07b83f831af..899ac82b0d1 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) @@ -318,7 +318,7 @@ release_dead_ssa_names (void) referenced_var_iterator rvi; /* Current defs point to various dead SSA names that in turn points to dead - statements so bunch of dead memory is holded from releasing. */ + statements so bunch of dead memory is held from releasing. */ FOR_EACH_REFERENCED_VAR (t, rvi) set_current_def (t, NULL); /* Now release the freelist. */ @@ -328,7 +328,7 @@ release_dead_ssa_names (void) /* Dangling pointers might make GGC to still see dead SSA names, so it is important to unlink the list and avoid GGC from seeing all subsequent SSA names. In longer run we want to have all dangling pointers here - removed (since they usually go trhough dead statements that consume + removed (since they usually go through dead statements that consume considerable amounts of memory). */ TREE_CHAIN (t) = NULL_TREE; n++;