| 1 |
/* PR target/85756 */ |
| 2 |
|
| 3 |
#if __CHAR_BIT__ == 8 && __SIZEOF_SHORT__ == 2 && __SIZEOF_INT__ == 4 |
| 4 |
int a, c, *e, f, h = 10; |
| 5 |
short b; |
| 6 |
unsigned int p; |
| 7 |
|
| 8 |
__attribute__((noipa)) void |
| 9 |
bar (int a) |
| 10 |
{ |
| 11 |
asm volatile ("" : : "r" (a) : "memory"); |
| 12 |
} |
| 13 |
|
| 14 |
void |
| 15 |
foo () |
| 16 |
{ |
| 17 |
unsigned j = 1, m = 430523; |
| 18 |
int k, n = 1, *l = &h; |
| 19 |
lab: |
| 20 |
p = m; |
| 21 |
m = -((~65535U | j) - n); |
| 22 |
f = b << ~(n - 8); |
| 23 |
n = (m || b) ^ f; |
| 24 |
j = p; |
| 25 |
if (p < m) |
| 26 |
*l = k < 3; |
| 27 |
if (!n) |
| 28 |
l = &k; |
| 29 |
if (c) |
| 30 |
{ |
| 31 |
bar (a); |
| 32 |
goto lab; |
| 33 |
} |
| 34 |
if (!*l) |
| 35 |
*e = 1; |
| 36 |
} |
| 37 |
|
| 38 |
int |
| 39 |
main () |
| 40 |
{ |
| 41 |
foo (); |
| 42 |
return 0; |
| 43 |
} |
| 44 |
#else |
| 45 |
int |
| 46 |
main () |
| 47 |
{ |
| 48 |
return 0; |
| 49 |
} |
| 50 |
#endif |