[Bug target/35839] Altivec with the vectorizer causes an ICE in rs6000_check_sdmode

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Apr 6 19:33:00 GMT 2008



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-04-06 19:32 -------
Simple testcase:
void
foo (float a[32], float b[2][32])
{
  int i;
  for (i = 0; i < 32; i++)
    a[i] = (b[0][i] > b[1][i]) ? b[0][i] : b[1][i];
}

Compile with -O2 -maltivec -ftree-vectorize and you get the failure.
We have a ALIGN_INDIRECT_REF here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35839



More information about the Gcc-bugs mailing list