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

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 21 14:22:00 GMT 2011


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;
   }
}
---



More information about the Gcc-bugs mailing list