OSDN Git Service

2005-11-03 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 15:39:48 +0000 (15:39 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 15:39:48 +0000 (15:39 +0000)
commit5472b425df5e142bcedde62794e31b35cf641dee
tree9dcbe9162456b36aa816086c8de751f7d2af94ad
parent9cb3832d7bed353cb522ffd3e74b1962cb91789a
2005-11-03  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/24351

* tree-ssa-structalias.c (struct variable_info): Add
collapsed_into.
(get_varinfo_fc): New function to follow collapsing.
(new_var_info): Set collapsed_to to NULL.
(dump_constraint): Follow collapsing.
(build_constraint_graph): Handle collapsing.
(do_simple_structure_copy): Return false if something bad
happened.
(collapse_rest_of_var): New function.
(do_structure_copy): Collapse if do_simple_structure_copy returns
false.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106437 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr24351-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tree-ssa/pr24351-2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/tree-ssa/pr24351-3.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c