if (graph->label[node] == 0 && TEST_BIT (graph->direct_nodes, node))
{
- if (dump_file && (dump_flags && TDF_DETAILS))
+ if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file,
"%s is a non-pointer variable, eliminating edges.\n",
get_varinfo (node)->name);
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;
}