| 1 |
/* This used to fail to compile; see PR55008. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -w" } */ |
| 4 |
|
| 5 |
typedef unsigned long long T; |
| 6 |
|
| 7 |
void f(void) |
| 8 |
{ |
| 9 |
int a, *p; |
| 10 |
|
| 11 |
T b = 6309343725; |
| 12 |
|
| 13 |
if(*p ? (b = 1) : 0) |
| 14 |
if(b - (a = b /= 0) ? : (a + b)) |
| 15 |
while(1); |
| 16 |
} |
| 17 |
|