re PR tree-optimization/39041 (ICE on valid during vrp2)
authorRichard Guenther <rguenther@suse.de>
Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)
commit5f4d82c2ea1d086294ed3b2863760bcd171a9127
tree124fa5debc098af947b864d95735536887120002
parentd0728ae0d8311979f9e73498d2701bce8216adf1
re PR tree-optimization/39041 (ICE on valid during vrp2)

2009-01-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39041
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Propagate variable indices only if the types match for this stmt.

* gcc.c-torture/compile/pr39041.c: New testcase.

From-SVN: r143808
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr39041.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c