1 2 3 4 5 6 7 8 9 10 11
/* PR tree-optimization/46233 */ /* { dg-do compile } */ /* { dg-options "-O -fno-tree-dce" } */ int foo () { int i = 0; while (1) i += foo (); }