public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hongyu Wang <hongyu.wang@intel.com>
To: gcc-patches@gcc.gnu.org
Cc: hongtao.liu@intel.com, fxcoudert@gmail.com
Subject: [PATCH] testsuite: Require dfp for pr112943.c
Date: Fri, 15 Dec 2023 11:01:15 +0800	[thread overview]
Message-ID: <20231215030115.2757951-1-hongyu.wang@intel.com> (raw)

Hi,

As Coudert points out, this test fails on darwin as it does not 
support _Decimal64, so require dfp for it.

Pushed as obvious fix.

gcc/testsuite/ChangeLog:

	* gcc.target/i386/pr112943.c: Require dfp.
---
 gcc/testsuite/gcc.target/i386/pr112943.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr112943.c b/gcc/testsuite/gcc.target/i386/pr112943.c
index 7e299bd4b5e..b1840a1f462 100644
--- a/gcc/testsuite/gcc.target/i386/pr112943.c
+++ b/gcc/testsuite/gcc.target/i386/pr112943.c
@@ -1,5 +1,5 @@
 /* PR target/112943 */
-/* { dg-do compile { target { ! ia32 } } } */
+/* { dg-do compile { target { dfp && { ! ia32 } } } } */
 /* { dg-options "-O2 -march=westmere -mapxf" } */
 
 typedef unsigned char __attribute__((__vector_size__(1))) v8u8;
-- 
2.31.1


                 reply	other threads:[~2023-12-15  3:03 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=20231215030115.2757951-1-hongyu.wang@intel.com \
    --to=hongyu.wang@intel.com \
    --cc=fxcoudert@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hongtao.liu@intel.com \
    /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).