* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030204-1.c
blob33a9eb229f9cc2ace4be3bb26a00e48b35e05635
1 /* PR optimization/8555 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -ffast-math -funroll-loops" } */
4 /* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target i?86-*-* } } */
5 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
7 float foo (float *a, int i)
9 int j;
10 float x = a[j = i - 1], y;
12 for (j = i; --j >= 0; )
13 if ((y = a[j]) > x)
14 x = y;
16 return x;