PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr58419.c
blob78bf437eb6b8f1881f271ca9c1f6e3c02c7a4dd4
1 __attribute__((__noinline__))
2 void
3 dummy ()
5 asm volatile("");
8 int a, g, i, k, *p;
9 signed char b;
10 char e;
11 short c, h;
12 static short *d = &c;
14 char
15 foo (int p1, int p2)
17 return p1 - p2;
20 int
21 bar ()
23 short *q = &c;
24 *q = 1;
25 *p = 0;
26 return 0;
29 int
30 main ()
32 for (b = -22; b >= -29; b--)
34 short *l = &h;
35 char *m = &e;
36 *l = a;
37 g = foo (*m = k && *d, 1 > i) || bar ();
39 dummy();
40 return 0;