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