tree-ssa-structalias.c (solve_graph): Handle case we merged the variable to another.

2007-01-26  Daniel Berlin  <dberlin@dberlin.org>
	Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c (solve_graph): Handle case
	we merged the variable to another.

Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r121202
This commit is contained in:
Daniel Berlin 2007-01-26 12:36:01 +00:00 committed by Richard Biener
parent 7befd5d26a
commit d3c3697412
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2007-01-26 Daniel Berlin <dberlin@dberlin.org>
Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (solve_graph): Handle case
we merged the variable to another.
2007-01-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even'

View File

@ -2051,9 +2051,10 @@ solve_graph (constraint_graph_t graph)
if (find (i) != i)
continue;
eliminate_indirect_cycles (i);
gcc_assert (find (i) == i);
/* In certain indirect cycle cases, we may merge this
variable to another. */
if (eliminate_indirect_cycles (i) && find(i) != i)
continue;
/* If the node has changed, we need to process the
complex constraints and outgoing edges again. */