OSDN Git Service

2005-08-14 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Aug 2005 19:23:56 +0000 (19:23 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 14 Aug 2005 19:23:56 +0000 (19:23 +0000)
commitff77282cabdf300f9c85a8e559ea42b58de9fef2
treee55e265577b39245ffd869604a9f3bdfdc0923fe
parenta0631a8ab187bedadfddc4e7ce5ee2d263c44c76
2005-08-14  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/22615

* tree-ssa-structalias.c (solution_set_add): Handle
first_vi_for_offset returning NULL.
(do_da_constraint): Ditto.
(do_sd_constraint): Ditto.
(do_ds_constraint): Ditto
(find_func_aliases): Ditto.
(build_constraint_graph): RHS is allowed be ANYTHING.
(first_vi_for_offset): Return NULL if we couldn't find anything at
the offset.

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