* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / Wunreachable-8.c
blob7fbb2e6ad60a8f96c4398f1a2094e240fc3cb3af
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wunreachable-code" } */
3 float Factorial(float X)
5 float val = 1.0;
6 int k,j;
7 for (k=1; k < 5; k++)
9 val += 1.0;
11 return (val); /* { dg-bogus "will never be executed" } */
14 int main (void)
16 float result;
17 result=Factorial(2.1);
18 return (0);