* [pushed] Darwin, testsuite: skip some -mcmodel=large tests
@ 2024-02-10 17:53 FX Coudert
0 siblings, 0 replies; only message in thread
From: FX Coudert @ 2024-02-10 17:53 UTC (permalink / raw)
To: GCC Patches; +Cc: Iain Sandoe
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
Three new tests using -mcmodel=large, which darwin does not support. Skipping them.
Pushed as obvious.
FX
[-- Attachment #2: 0001-Darwin-testsuite-skip-some-mcmodel-large-tests.patch --]
[-- Type: application/octet-stream, Size: 2071 bytes --]
From d29f6c0b5903e3e5159dd3e5ea54ba5d5f53b995 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sat, 10 Feb 2024 18:44:16 +0100
Subject: [PATCH] Darwin, testsuite: skip some -mcmodel=large tests
See PR90698. On Xcode 15, the tests currently lead to a segfault of the
clang assembler.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr113689-1.c: Skip test on darwin.
* gcc.target/i386/pr113689-2.c: Likewise.
* gcc.target/i386/pr113689-3.c: Likewise.
---
gcc/testsuite/gcc.target/i386/pr113689-1.c | 1 +
gcc/testsuite/gcc.target/i386/pr113689-2.c | 1 +
gcc/testsuite/gcc.target/i386/pr113689-3.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/gcc/testsuite/gcc.target/i386/pr113689-1.c b/gcc/testsuite/gcc.target/i386/pr113689-1.c
index 8285c0a07b7..16b513c9a79 100644
--- a/gcc/testsuite/gcc.target/i386/pr113689-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr113689-1.c
@@ -1,5 +1,6 @@
/* { dg-do run { target { lp64 && fpic } } } */
/* { dg-options "-O2 -fno-pic -fprofile -mcmodel=large" } */
+/* { dg-skip-if "PR90698" { *-*-darwin* } } */
#include <stdarg.h>
diff --git a/gcc/testsuite/gcc.target/i386/pr113689-2.c b/gcc/testsuite/gcc.target/i386/pr113689-2.c
index 2e5579ac546..3613c283d0c 100644
--- a/gcc/testsuite/gcc.target/i386/pr113689-2.c
+++ b/gcc/testsuite/gcc.target/i386/pr113689-2.c
@@ -1,5 +1,6 @@
/* { dg-do run { target { lp64 && fpic } } } */
/* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */
+/* { dg-skip-if "PR90698" { *-*-darwin* } } */
__attribute__((noipa))
void
diff --git a/gcc/testsuite/gcc.target/i386/pr113689-3.c b/gcc/testsuite/gcc.target/i386/pr113689-3.c
index dab75190635..39373c11dfa 100644
--- a/gcc/testsuite/gcc.target/i386/pr113689-3.c
+++ b/gcc/testsuite/gcc.target/i386/pr113689-3.c
@@ -1,5 +1,6 @@
/* { dg-do run { target { lp64 && fpic } } } */
/* { dg-options "-O2 -fpic -fprofile -mcmodel=large" } */
+/* { dg-skip-if "PR90698" { *-*-darwin* } } */
#include <stdarg.h>
--
2.39.3 (Apple Git-145)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-10 17:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-10 17:53 [pushed] Darwin, testsuite: skip some -mcmodel=large tests FX Coudert
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).