Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr59166.c
blob5bdeaa6b78a404491868029c3704f089bbfe7c7c
1 /* PR rtl-optimization/59166 */
2 /* { dg-additional-options "-fcompare-debug" } */
3 /* { dg-xfail-if "compare-debug failure" { powerpc-ibm-aix* } { "*" } { "" } } */
5 int a, b, c, f, g;
7 void
8 foo ()
10 for (; b; b++)
11 for (; f; f = g)
12 for (; a;)
16 static int
17 bar (int p)
19 short d;
20 if (c)
22 for (; f; f = g);
23 foo ();
24 d = p;
25 char e = d;
26 if (p)
27 return 1;
29 return p;
32 int
33 main ()
35 bar (0);
36 bar (g);
37 return 0;