[Bug middle-end/47397] Alignment of array element is incorrect in AVX mode

2011-01-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47397 --- Comment #3 from Richard Guenther 2011-01-21 14:15:49 UTC --- Investigating.

[Bug middle-end/47397] Alignment of array element is incorrect in AVX mode

2011-01-21 Thread hjl.tools at gmail dot com
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; } } ---

[Bug middle-end/47397] Alignment of array element is incorrect in AVX mode

2011-01-21 Thread hjl.tools at gmail dot com
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.