2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20020418-2.c
blob56094e71cd666b83cf875ef0b1a6f6adb020e42a
1 /* PR optimization/6010 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -funroll-all-loops" } */
4 /* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6 void bar (float);
8 void foo (float y, unsigned long z)
10 int b;
11 float c = y;
13 for (b = 0; b < z; b++)
15 bar (c);
16 if (c == y)
17 c = -y;
18 else
19 c = y;