OSDN Git Service

2009-01-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)
commitc019af4daa2bbc9fb8363bdefb23b01b8c433670
tree124fa5debc098af947b864d95735536887120002
parent709cdea68ac169ec69d645e21fc6cdf262f79eb8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143808 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr39041.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c