* tree-ssa-structalias.c (compute_points_to_sets): Do call
init_alias_heapvars.
(init_alias_heapvars): Initialize only when not already initialized.
(delete_alias_heapvars): Set heapvar_for_stmt to NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120983
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-01-20 Jan Hubicka <jh@suse.cz>
+
+ * tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars.
+ * tree-ssa-structalias.c (compute_points_to_sets): Do call
+ init_alias_heapvars.
+ (init_alias_heapvars): Initialize only when not already initialized.
+ (delete_alias_heapvars): Set heapvar_for_stmt to NULL.
+
2007-01-19 Roger Sayle <roger@eyesopen.com>
* common.opt (fsigned-zeros): New command line option.
timevar_push (TV_TREE_PTA);
init_alias_vars ();
+ init_alias_heapvars ();
intra_create_variable_infos ();
void
init_alias_heapvars (void)
{
- heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq,
- NULL);
+ if (!heapvar_for_stmt)
+ heapvar_for_stmt = htab_create_ggc (11, tree_map_hash, tree_map_eq,
+ NULL);
}
void
delete_alias_heapvars (void)
{
htab_delete (heapvar_for_stmt);
+ heapvar_for_stmt = NULL;
}
var_ann_eq, NULL);
cfun->gimple_df->call_clobbered_vars = BITMAP_GGC_ALLOC ();
cfun->gimple_df->addressable_vars = BITMAP_GGC_ALLOC ();
- init_alias_heapvars ();
init_ssanames ();
init_phinodes ();
}