2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr53070.c
blob534ac34141f4f94181d8c736c604e2c82e293a42
1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math -ftree-loop-if-convert -fno-tree-loop-im" } */
3 int
4 foo (int c)
6 int t = 0, i = 0;
7 for (; i < 100; i++)
8 t += c ? c : 1;
9 return t;