https://gcc.gnu.org/g:f6c1f80fd9a9ba6f891514171d0236f366b373aa

commit r11-11397-gf6c1f80fd9a9ba6f891514171d0236f366b373aa
Author: Francois-Xavier Coudert <fxcoud...@gcc.gnu.org>
Date:   Sat Feb 10 15:52:44 2024 +0100

    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)

Diff:
---
 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>

Reply via email to