| 1 |
/* PR bootstrap/41345 */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -g -fcompare-debug" } */ |
| 4 |
/* { dg-xfail-if "AIX compare debug" { powerpc-ibm-aix* } } */ |
| 5 |
|
| 6 |
void |
| 7 |
foo (int *x) |
| 8 |
{ |
| 9 |
int a; |
| 10 |
for (a = 0; a < 2; a++) |
| 11 |
if (x[a]) |
| 12 |
goto lab; |
| 13 |
__builtin_unreachable (); |
| 14 |
lab:; |
| 15 |
} |