Fix PR42221.
commit3697511722173551acb1f024ea0cc859765dd8a0
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jan 2010 07:56:08 +0000 (8 07:56 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Jan 2010 07:56:08 +0000 (8 07:56 +0000)
tree5282d426a1af75ae4826a75cf381ed03cc3c2425
parentcedb8a67cb63896529c2f8a575b1fa7dce56cd23
Fix PR42221.

2009-12-23  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42221
* sese.c (expand_scalar_variables_expr): Follow the SSA links into
the array indexing of ADDR_EXPRs.

* testsuite/gcc.dg/graphite/pr42221.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@155729 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/sese.c
gcc/testsuite/gcc.dg/graphite/pr42221.c [new file with mode: 0644]