public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Force -fexcess-precision=standard for fp-uint64-convert-double-1.c
@ 2021-10-29  7:46 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2021-10-29  7:46 UTC (permalink / raw)
  To: gcc-patches

This forces -fexcess-precision=standard since the testcase is
otherwise prone to fail with x87 math.

Tested on x86_64-unknown-linux-gnu with {,-m32}, pushed.

2021-10-29  Richard Biener  <rguenther@suse.de>

	* gcc.dg/torture/fp-uint64-convert-double-1.c: Add
	-fexcess-precision=standard.
---
 gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c b/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
index b40a16a2257..fadad8c3198 100644
--- a/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
+++ b/gcc/testsuite/gcc.dg/torture/fp-uint64-convert-double-1.c
@@ -1,7 +1,7 @@
 /* PR84407 */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv } */
-/* { dg-additional-options "-frounding-math" } */
+/* { dg-additional-options "-frounding-math -fexcess-precision=standard" } */
 
 #include <fenv.h>
 #include <stdlib.h>
-- 
2.31.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-29  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29  7:46 [PATCH] Force -fexcess-precision=standard for fp-uint64-convert-double-1.c Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).