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> 2013-03-27 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55334 PR tree-optimization/55334
......
...@@ -2292,18 +2292,37 @@ perform_var_substitution (constraint_graph_t graph) ...@@ -2292,18 +2292,37 @@ perform_var_substitution (constraint_graph_t graph)
{ {
unsigned j = si->node_mapping[i]; unsigned j = si->node_mapping[i];
if (j != 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) bitmap_bit_p (graph->direct_nodes, i)
? "Direct" : "Indirect", i, get_varinfo (i)->name, ? "Direct" : "Indirect", i);
j, get_varinfo (j)->name); 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 else
fprintf (dump_file, {
"Equivalence classes for %s node id %d (%s): pointer %d" fprintf (dump_file,
", location %d\n", "Equivalence classes for %s node id %d ",
bitmap_bit_p (graph->direct_nodes, i) bitmap_bit_p (graph->direct_nodes, i)
? "direct" : "indirect", i, get_varinfo (i)->name, ? "direct" : "indirect", i);
graph->pointer_label[i], graph->loc_label[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. */ /* 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