diff --git a/gcc/testsuite/gcc.dg/fold-overflow-1.c b/gcc/testsuite/gcc.dg/fold-overflow-1.c index 92819cb048f..5e410b9bafb 100644 --- a/gcc/testsuite/gcc.dg/fold-overflow-1.c +++ b/gcc/testsuite/gcc.dg/fold-overflow-1.c @@ -1,6 +1,8 @@ /* { dg-compile } */ /* { dg-options "-O -ftrapping-math" } */ +/* There should be exactly 2 +Inf in the assembly file. */ + float f1 = __FLT_MAX__ + __FLT_MAX__; float foo1(void)