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