2005-06-11 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jun 2005 03:19:26 +0000 (03:19 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Jun 2005 03:19:26 +0000 (03:19 +0000)
commite71afe8fc5116fe6e1688fb8eaeccd956f7b2de1
treea66413c660b58f251a921eee4eb35efd2c4bbf7d
parent9399e9c6cdc546c2c5fef709dda89f7e20dd5a71
2005-06-11  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/22005
Fix PR tree-optimization/22025

* tree-ssa-structalias.c (struct variable_info): Add has_union
member.
(create_variable_info_for):  Mark variables containing unions.
Don't sort the field stack if notokay is true.
(find_what_p_points_to): Convert variables containing unions back
to their SFT's if necessary.

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