Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr53070.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-ffast-math -ftree-loop-if-convert -fno-tree-loop-im" } */
3 int
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 }