re PR tree-optimization/22615 (ICE in first_vi_for_offset, at tree-ssa-structalias...
authorDaniel Berlin <dberlin@dberlin.org>
Sun, 14 Aug 2005 19:23:56 +0000 (19:23 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Sun, 14 Aug 2005 19:23:56 +0000 (19:23 +0000)
commit8971094d72ac03277fefdcd65e9bb449ecb3dae0
treee55e265577b39245ffd869604a9f3bdfdc0923fe
parentc5b2a111dcea3bd2e618676d2761a1570c145dcd
re PR tree-optimization/22615 (ICE in first_vi_for_offset, at tree-ssa-structalias.c:2858)

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.

From-SVN: r103083
gcc/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr22615.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c