1 2 3 4 5 6 7 8 9 10 11 12
/* PR debug/46255 */ /* { dg-do compile } */ /* { dg-options "-fcompare-debug -fprofile-generate -O" } */ int bar (void); void foo (int i) { while (i) i = bar (); }