Commit f49b33cb by Richard Biener Committed by Richard Biener

re PR target/56716 (during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1:…

re PR target/56716 (during gcc 4.8.0 build on Cygwin:  bid128_fma.c:4460:1: internal compiler error: Segmentation fault)

2013-03-27  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56716
	* tree-ssa-structalias.c (perform_var_substitution): Adjust
	dumping for ref nodes.

From-SVN: r197165
parent b37a6ce5
2013-03-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/56716
* tree-ssa-structalias.c (perform_var_substitution): Adjust
dumping for ref nodes.
2013-03-27 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55334
......
......@@ -2292,19 +2292,38 @@ perform_var_substitution (constraint_graph_t graph)
{
unsigned j = si->node_mapping[i];
if (j != i)
fprintf (dump_file, "%s node id %d (%s) mapped to SCC leader "
"node id %d (%s)\n",
{
fprintf (dump_file, "%s node id %d ",
bitmap_bit_p (graph->direct_nodes, i)
? "Direct" : "Indirect", i, get_varinfo (i)->name,
j, get_varinfo (j)->name);
? "Direct" : "Indirect", i);
if (i < FIRST_REF_NODE)
fprintf (dump_file, "\"%s\"", get_varinfo (i)->name);
else
fprintf (dump_file, "\"*%s\"",
get_varinfo (i - FIRST_REF_NODE)->name);
fprintf (dump_file, " mapped to SCC leader node id %d ", j);
if (j < FIRST_REF_NODE)
fprintf (dump_file, "\"%s\"\n", get_varinfo (j)->name);
else
fprintf (dump_file, "\"*%s\"\n",
get_varinfo (j - FIRST_REF_NODE)->name);
}
else
{
fprintf (dump_file,
"Equivalence classes for %s node id %d (%s): pointer %d"
", location %d\n",
"Equivalence classes for %s node id %d ",
bitmap_bit_p (graph->direct_nodes, i)
? "direct" : "indirect", i, get_varinfo (i)->name,
? "direct" : "indirect", i);
if (i < FIRST_REF_NODE)
fprintf (dump_file, "\"%s\"", get_varinfo (i)->name);
else
fprintf (dump_file, "\"*%s\"",
get_varinfo (i - FIRST_REF_NODE)->name);
fprintf (dump_file,
": pointer %d, location %d\n",
graph->pointer_label[i], graph->loc_label[i]);
}
}
/* Quickly eliminate our non-pointer variables. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment