From: FX Coudert <fxcoudert@gmail.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [PATCH] Testsuite: restrict test to nonpic targets
Date: Mon, 11 Dec 2023 09:29:32 +0100 [thread overview]
Message-ID: <EB3743C9-5221-463B-8294-BAEB9FADA029@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
The test is currently failing on x86_64-apple-darwin. This patch requires nonpic, as suggested in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112297 by Andrew Pinski.
OK to commit?
FX
[-- Attachment #2: 0001-Testsuite-restrict-test-to-nonpic-targets.patch --]
[-- Type: application/octet-stream, Size: 915 bytes --]
From e9a141dfb39fb8fd9225bdde4c0ce2f89ee8c112 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Mon, 11 Dec 2023 09:26:23 +0100
Subject: [PATCH] Testsuite: restrict test to nonpic targets
The test is currently failing on x86_64-apple-darwin.
gcc/testsuite/ChangeLog:
PR testsuite/112297
* gcc.target/i386/pr100936.c: Require nonpic target.
---
gcc/testsuite/gcc.target/i386/pr100936.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.target/i386/pr100936.c b/gcc/testsuite/gcc.target/i386/pr100936.c
index c076cbb2405..af494946fcd 100644
--- a/gcc/testsuite/gcc.target/i386/pr100936.c
+++ b/gcc/testsuite/gcc.target/i386/pr100936.c
@@ -1,6 +1,7 @@
/* PR target/100936 */
/* { dg-do assemble } */
/* { dg-options "-O2" } */
+/* { dg-require-effective-target nonpic } */
__seg_gs int var;
--
2.39.3 (Apple Git-145)
next reply other threads:[~2023-12-11 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 8:29 FX Coudert [this message]
2023-12-11 17:28 ` Mike Stump
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=EB3743C9-5221-463B-8294-BAEB9FADA029@gmail.com \
--to=fxcoudert@gmail.com \
--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).