1 /* { dg-do compile } */
2 /* { dg-require-effective-target int32plus } */
3 /* { dg-skip-if "No Inf support" { spu-*-* } } */
4 /* { dg-options "-O -ftrapping-math" } */
6 /* There should be exactly 2 +Inf in the assembly file. */
8 float f1
= __FLT_MAX__
+ __FLT_MAX__
;
12 return __FLT_MAX__
+ __FLT_MAX__
;
22 /* { dg-final { scan-assembler-times "2139095040" 2 { target { ! mmix-*-* } } } } */
23 /* { dg-final { scan-assembler-times "#7f800000" 2 { target mmix-*-* } } } */