aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2024-02-10 15:52:44 +0100
committerIain Sandoe <iain@sandoe.co.uk>2024-04-28 19:23:51 +0100
commitf6c1f80fd9a9ba6f891514171d0236f366b373aa (patch)
tree072a76e1599ad89f2577b34f470ce50031e83465
parent1ac65249cb9553bda683b3b1a2f85fccb2562bb8 (diff)
downloadgcc-f6c1f80fd9a9ba6f891514171d0236f366b373aa.zip
gcc-f6c1f80fd9a9ba6f891514171d0236f366b373aa.tar.gz
gcc-f6c1f80fd9a9ba6f891514171d0236f366b373aa.tar.bz2
Darwin, testsuite: -multiply_defined is obsolete
gcc/testsuite/ChangeLog: * gcc.dg/ssp-2.c: Ignore warning that -multiply_defined is obsolete (cherry picked from commit 6b13e32162adf9e4f552e09c46f1de531ffa8c05)
-rw-r--r--gcc/testsuite/gcc.dg/ssp-2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/ssp-2.c b/gcc/testsuite/gcc.dg/ssp-2.c
index 752fe53..608ca30 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>