]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, testsuite: -multiply_defined is obsolete
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 10 Feb 2024 14:52:44 +0000 (15:52 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 21 Apr 2024 13:02:36 +0000 (14:02 +0100)
gcc/testsuite/ChangeLog:

* gcc.dg/ssp-2.c: Ignore warning that
-multiply_defined is obsolete

(cherry picked from commit 6b13e32162adf9e4f552e09c46f1de531ffa8c05)

gcc/testsuite/gcc.dg/ssp-2.c

index 752fe5393f4c66a57bc8b8dc8bc623fe2c1893ab..608ca300032391c2ac0ac7dfa8c510b61fc8d90d 100644 (file)
@@ -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>