re PR tree-optimization/34989 (ICE in get_addr_dereference_operands, at tree-ssa...
authorRichard Guenther <rguenther@suse.de>
Tue, 19 Feb 2008 11:55:29 +0000 (11:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Feb 2008 11:55:29 +0000 (11:55 +0000)
commit9cadd7f79554bd1029725d368760402bf09d506f
tree6b712c11a70be977e4056a2a38cbc54c408e270a
parentffc301737217b196beaccb2a970e179fa716e5bb
re PR tree-optimization/34989 (ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1698 with IMA)

2008-02-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34989
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure.
Allow propagation to INDIRECT_REF if we can simplify only.

* gcc.dg/pr34989-1.c: New testcase.
* gcc.dg/pr34989-2.c: Likewise.

From-SVN: r132429
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr34989-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr34989-2.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c