1 /* { dg-do compile } */ 2 /* { dg-options "-ffast-math -ftree-loop-if-convert -fno-tree-loop-im" } */ 3 int foo(int c)4 foo (int c) 5 { 6 int t = 0, i = 0; 7 for (; i < 100; i++) 8 t += c ? c : 1; 9 return t; 10 } 11