* [PATCH] Darwin, testsuite: -multiply_defined is obsolete
@ 2024-02-10 14:54 FX Coudert
2024-02-10 14:58 ` Iain Sandoe
0 siblings, 1 reply; 2+ messages in thread
From: FX Coudert @ 2024-02-10 14:54 UTC (permalink / raw)
To: GCC Patches; +Cc: Iain Sandoe
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
With Xcode 15, gcc.dg/ssp-2.c fails due to a warning: -multiply_defined is obsolete
The patches ignores the warning when present.
OK to push?
FX
[-- Attachment #2: 0001-Darwin-testsuite-multiply_defined-is-obsolete.patch --]
[-- Type: application/octet-stream, Size: 967 bytes --]
From 6b13e32162adf9e4f552e09c46f1de531ffa8c05 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Sat, 10 Feb 2024 15:52:44 +0100
Subject: [PATCH] Darwin, testsuite: -multiply_defined is obsolete
gcc/testsuite/ChangeLog:
* gcc.dg/ssp-2.c: Ignore warning that
-multiply_defined is obsolete
---
gcc/testsuite/gcc.dg/ssp-2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/ssp-2.c b/gcc/testsuite/gcc.dg/ssp-2.c
index 752fe5393f4..608ca300032 100644
--- a/gcc/testsuite/gcc.dg/ssp-2.c
+++ b/gcc/testsuite/gcc.dg/ssp-2.c
@@ -1,6 +1,7 @@
/* { dg-do run { target native } } */
/* { dg-options "-fstack-protector" } */
/* { dg-options "-fstack-protector -Wl,-multiply_defined,suppress" { target *-*-darwin* } } */
+/* { dg-prune-output "-multiply_defined is obsolete" } */
/* { dg-require-effective-target fstack_protector } */
#include <stdlib.h>
--
2.39.3 (Apple Git-145)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Darwin, testsuite: -multiply_defined is obsolete
2024-02-10 14:54 [PATCH] Darwin, testsuite: -multiply_defined is obsolete FX Coudert
@ 2024-02-10 14:58 ` Iain Sandoe
0 siblings, 0 replies; 2+ messages in thread
From: Iain Sandoe @ 2024-02-10 14:58 UTC (permalink / raw)
To: FX Coudert; +Cc: GCC Patches
> On 10 Feb 2024, at 14:54, FX Coudert <fxcoudert@gmail.com> wrote:
>
> With Xcode 15, gcc.dg/ssp-2.c fails due to a warning: -multiply_defined is obsolete
>
> The patches ignores the warning when present.
> OK to push?
yes, thanks.
Iain
… although part of me is curious about whether we still have any supported
OS version for which the “-multiply_defined,suppress” is needed, we should try
to put that evaluation on the GCC-15 TODO.
>
> FX
>
> <0001-Darwin-testsuite-multiply_defined-is-obsolete.patch>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-10 14:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-10 14:54 [PATCH] Darwin, testsuite: -multiply_defined is obsolete FX Coudert
2024-02-10 14:58 ` Iain Sandoe
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).