PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr71631.c
blobf27c03e010dc0febd11a7838ef3419cb24c8c952
1 /* PR tree-optimization/71631 */
3 volatile char v;
4 int a = 1, b = 1, c = 1;
6 void
7 foo (const char *s)
9 while (*s++)
10 v = *s;
13 int
14 main ()
16 volatile int d = 1;
17 volatile int e = 1;
18 int f = 1 / a;
19 int g = 1U < f;
20 int h = 2 + g;
21 int i = 3 % h;
22 int j = e && b;
23 int k = 1 == c;
24 int l = d != 0;
25 short m = (short) (-1 * i * l);
26 short x = j * (k * m);
27 if (i == 1)
28 foo ("AB");
29 if (x != -1)
30 __builtin_abort ();
31 return 0;