OSDN Git Service

2009-04-04 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Apr 2009 09:30:34 +0000 (09:30 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Apr 2009 09:30:34 +0000 (09:30 +0000)
commit507b89a40e5b35898f1e0a18385f209af8bccede
tree1617183c57efeb10cdd2fb7fe0e429fd90f87af2
parent4a83184b182f864e21fc3ce2999ce8a1ae1563f8
2009-04-04  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39636
* tree-ssa-forwprop.c
(forward_propagate_addr_into_variable_array_index): Check for
GIMPLE_ASSIGN before accessing the rhs code.

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

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