1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* { dg-do compile } */ /* { dg-additional-options "-fno-tree-ccp -fno-tree-copy-prop" } */ int a; int main() { int b = -1, c; for (; b >= 0; b++) { for (c = 0; c; c++) { L: while (a) if (a) goto L; } } return 0; }