http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-21 14:11:59 UTC ---
This testcase can compile
---
double a[1024], b[1024];
void foo()
{
int i;
for (i = 0; i < sizeof (a)/sizeof (a[0]) ; i++)
{
b[i] = a[i+2] * 10.0;
}
}
---