testsuite: pr59833.c and pr61441.c should use -fsignaling-nans

The testcases pr59833.c and pr61441.c check whether signaling NaNs as
input to some operation result in quiet NaNs.  Without -fsignaling-nans
this is not guaranteed to happen.  So, this patch add this option to
these testcases.


	* gcc.dg/pr59833.c: Add -fsignaling-nans to options.
	* gcc.dg/pr61441.c: Ditto.

From-SVN: r245533
This commit is contained in:
Segher Boessenkool 2017-02-17 15:51:40 +01:00 committed by Segher Boessenkool
parent 6c12bd5b31
commit 3185712c77
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-02-17 Segher Boessenkool <segher@kernel.crashing.org>
* gcc.dg/pr59833.c: Add -fsignaling-nans to options.
* gcc.dg/pr61441.c: Ditto.
2017-02-17 Martin Liska <mliska@suse.cz>
PR rtl-optimization/79574

View File

@ -1,5 +1,5 @@
/* { dg-do run { target { *-*-linux* *-*-gnu* } } } */
/* { dg-options "-O0 -lm" } */
/* { dg-options "-O0 -lm -fsignaling-nans" } */
/* { dg-add-options ieee } */
/* { dg-require-effective-target issignaling } */

View File

@ -1,5 +1,5 @@
/* { dg-do run { target { *-*-linux* *-*-gnu* } } } */
/* { dg-options "-O1 -lm -fexcess-precision=standard" } */
/* { dg-options "-O1 -lm -fexcess-precision=standard -fsignaling-nans" } */
/* { dg-require-effective-target issignaling } */
#define _GNU_SOURCE