re PR middle-end/34334 (ICE in vuses_compare, at tree-vn.c:118)
commit54b7b17d73286a19d9a8f218f6ecf4d75e680046
authorRichard Guenther <rguenther@suse.de>
Tue, 4 Dec 2007 17:20:34 +0000 (4 17:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 4 Dec 2007 17:20:34 +0000 (4 17:20 +0000)
treee4978fe5fce020d21312561a9423cd654c78b718
parent91ee70c3474d8ffe588224402caff0cafa4cdcef
re PR middle-end/34334 (ICE in vuses_compare, at tree-vn.c:118)

2007-12-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/34334
PR middle-end/34222
* tree-ssa-operands.c (get_addr_dereference_operands): If we
fall back to using the SMTs aliases, make sure to add virtual
operands for the SMT itself.
(create_ssa_artificial_load_stmt): Fix typo.  Make sure to also
clear the loaded and stored symbols bitmaps.

* gcc.c-torture/compile/pr34334.c: New testcase.
* g++.dg/torture/pr34222.C: New testcase.

From-SVN: r130602
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr34222.C [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr34334.c [new file with mode: 0644]
gcc/tree-ssa-operands.c