Commit 3185712c by Segher Boessenkool Committed by Segher Boessenkool

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
parent 6c12bd5b
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
......
/* { 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 } */
......
/* { 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment