public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] Force -fexcess-precision=standard for fp-uint64-convert-double-1.c
Date: Fri, 29 Oct 2021 09:46:02 +0200 (CEST)	[thread overview]
Message-ID: <9s8ps23-1r24-14ss-pq9q-prq743q265n8@fhfr.qr> (raw)

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

                 reply	other threads:[~2021-10-29  7:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9s8ps23-1r24-14ss-pq9q-prq743q265n8@fhfr.qr \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).