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
Showing
- gcc/ChangeLog 16 additions, 0 deletionsgcc/ChangeLog
- gcc/testsuite/g++.dg/tree-ssa/pr24351-1.C 24 additions, 0 deletionsgcc/testsuite/g++.dg/tree-ssa/pr24351-1.C
- gcc/testsuite/g++.dg/tree-ssa/pr24351-2.C 25 additions, 0 deletionsgcc/testsuite/g++.dg/tree-ssa/pr24351-2.C
- gcc/testsuite/g++.dg/tree-ssa/pr24351-3.C 101 additions, 0 deletionsgcc/testsuite/g++.dg/tree-ssa/pr24351-3.C
- gcc/tree-ssa-structalias.c 79 additions, 15 deletionsgcc/tree-ssa-structalias.c
Loading
Please register or sign in to comment