PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr57861.c
blob138eb617e5b72c0f992f28463d2606ac782c943b
1 /* PR rtl-optimization/57861 */
3 extern void abort (void);
4 short a = 1, f;
5 int b, c, d, *g = &b, h, i, j;
6 unsigned int e;
8 static int
9 foo (char p)
11 int k;
12 for (c = 0; c < 2; c++)
14 i = (j = 0) || p;
15 k = i * p;
16 if (e < k)
18 short *l = &f;
19 a = d && h;
20 *l = 0;
23 return 0;
26 int
27 main ()
29 *g = foo (a);
30 if (a != 0)
31 abort ();
32 return 0;