public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Testsuite: restrict test to nonpic targets
@ 2023-12-11  8:29 FX Coudert
  2023-12-11 17:28 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: FX Coudert @ 2023-12-11  8:29 UTC (permalink / raw)
  To: GCC Patches

[-- 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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Testsuite: restrict test to nonpic targets
  2023-12-11  8:29 [PATCH] Testsuite: restrict test to nonpic targets FX Coudert
@ 2023-12-11 17:28 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2023-12-11 17:28 UTC (permalink / raw)
  To: FX Coudert; +Cc: GCC Patches

On Dec 11, 2023, at 12:29 AM, FX Coudert <fxcoudert@gmail.com> wrote:
> 
> 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?

Ok.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-11 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11  8:29 [PATCH] Testsuite: restrict test to nonpic targets FX Coudert
2023-12-11 17:28 ` Mike Stump

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).