Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr58143-2.c
blobdd0dae1efe0be396521bcee682bccaa50a189988
1 /* { dg-do run } */
2 /* { dg-additional-options "-fstrict-overflow" } */
4 int a, b, d, e, f, *g, h, i;
5 volatile int c;
7 char foo (unsigned char p)
9 return p + 1;
12 int bar ()
14 for (h = 0; h < 3; h = foo (h))
17 for (f = 0; f < 1; f++)
19 i = a && 0 < -__INT_MAX__ - h ? 0 : 1;
20 if (e)
21 for (; d;)
22 b = 0;
23 else
24 g = 0;
27 return 0;
30 int main ()
32 bar ();
33 return 0;