* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-overflow-1.c
blobbed8aac9f9bf18bc6d82b5f8e3ef10db09f3686d
1 /* { dg-compile } */
2 /* { dg-skip-if "consts are shorts, not longs" { "m32c-*-*" } { "*" } { "" } } */
3 /* { dg-options "-O -ftrapping-math" } */
5 /* There should be exactly 2 +Inf in the assembly file. */
7 float f1 = __FLT_MAX__ + __FLT_MAX__;
9 float foo1(void)
11 return __FLT_MAX__ + __FLT_MAX__;
14 float f2 = 1.0f/0.0f;
16 float foo2(void)
18 return 1.0f/0.0f;
21 /* { dg-final { scan-assembler-times "2139095040" 2 { target { ! mmix-*-* } } } } */
22 /* { dg-final { scan-assembler-times "#7f800000" 2 { target mmix-*-* } } } */