OSDN Git Service

* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20030204-1.c
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
6 float foo (float *a, int i)
7 {
8   int j;
9   float x = a[j = i - 1], y;
10
11   for (j = i; --j >= 0; )
12     if ((y = a[j]) > x)
13       x = y;
14
15   return x;
16 }