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

commit r12-10372-gd450d2b3d0b36d5f2715f204cb0ad2ff1759d3c8
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