[Bug middle-end/64909] [4.8/5 regression] Missed vectorization

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 9 14:38:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64909

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
E.g.
unsigned short a[32];
unsigned int b[32];

void
foo ()
{
  b[0] = a[0];
  b[1] = a[1];
  b[2] = a[2];
  b[3] = a[3];
}

will do, or b[0] = a[0] + 5; b[1] = a[1] + 5; b[2] = a[2] + 5; b[3] = a[3] + 5;
and similar.



More information about the Gcc-bugs mailing list