http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397
--- Comment #3 from Richard Guenther 2011-01-21
14:15:49 UTC ---
Investigating.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397
--- Comment #2 from H.J. Lu 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;
}
}
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397
--- Comment #1 from H.J. Lu 2011-01-21 14:05:21
UTC ---
The bug seems in get_object_alignment.