Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr66949-1.c
blob1b765bc282eebfe1f6ab1edf4750bd0cc3eb95ba
1 /* PR tree-optimization/66949 */
2 /* { dg-do compile } */
4 int a, *b = &a, c;
6 unsigned short
7 fn1 (unsigned short p1, unsigned int p2)
9 return p2 > 1 || p1 >> p2 ? p1 : p1 << p2;
12 void
13 fn2 ()
15 int *d = &a;
16 for (a = 0; a < -1; a = 1)
18 if (a < 0)
19 c = 0;
20 *b = fn1 (*d || c, *d);
23 int
24 main ()
26 fn2 ();
27 return 0;