PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr70586.c
blob32e9e502cac20037048e89b98249734e370b8042
1 /* PR tree-optimization/70586 */
3 int a, e, f;
4 short b, c, d;
6 int
7 foo (int x, int y)
9 return (y == 0 || (x && y == 1)) ? x : x % y;
12 static short
13 bar (void)
15 int i = foo (c, f);
16 f = foo (d, 2);
17 int g = foo (b, c);
18 int h = foo (g > 0, c);
19 c = (3 >= h ^ 7) <= foo (i, c);
20 if (foo (e, 1))
21 return a;
22 return 0;
25 int
26 main ()
28 bar ();
29 return 0;