gcc/testsuite/gcc.dg/pr106099.c
raw| 1 | /* PR tree-optimization/106099 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O -fharden-compares -fno-tree-forwprop -fno-tree-ch -fno-tree-dominator-opts -fno-tree-ccp -funreachable-traps --param=scev-max-expr-size=1" } */ |
| 4 | |
| 5 | void |
| 6 | foo (void) |
| 7 | { |
| 8 | for (unsigned i = 0; i == 0; i++) |
| 9 | __builtin_printf ("%d", i); |
| 10 | } |