| 1 |
int a, b, c = 1, d = 1, e; |
| 2 |
|
| 3 |
__attribute__ ((noinline, noclone)) |
| 4 |
int foo (void) |
| 5 |
{ |
| 6 |
asm volatile ("":::"memory"); |
| 7 |
return 4195552; |
| 8 |
} |
| 9 |
|
| 10 |
__attribute__ ((noinline, noclone)) |
| 11 |
void bar (int x, int y) |
| 12 |
{ |
| 13 |
asm volatile (""::"g" (x), "g" (y):"memory"); |
| 14 |
if (y == 0) |
| 15 |
__builtin_abort (); |
| 16 |
} |
| 17 |
|
| 18 |
int |
| 19 |
baz (int x) |
| 20 |
{ |
| 21 |
char g, h; |
| 22 |
int i, j; |
| 23 |
|
| 24 |
foo (); |
| 25 |
for (;;) |
| 26 |
{ |
| 27 |
if (c) |
| 28 |
h = d; |
| 29 |
g = h < x ? h : 0; |
| 30 |
i = (signed char) ((unsigned char) (g - 120) ^ 1); |
| 31 |
j = i > 97; |
| 32 |
if (a - j) |
| 33 |
bar (0x123456, 0); |
| 34 |
if (!b) |
| 35 |
return e; |
| 36 |
} |
| 37 |
} |
| 38 |
|
| 39 |
int |
| 40 |
main () |
| 41 |
{ |
| 42 |
baz (2); |
| 43 |
return 0; |
| 44 |
} |