]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/38311 (ssp-2.c fails on darwin because of duplicated symbols)
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Sat, 29 Nov 2008 03:05:18 +0000 (03:05 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 29 Nov 2008 03:05:18 +0000 (19:05 -0800)
2008-11-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR testsuite/38311
        * ssp-2.c: Link with -Wl,-multiply_defined,suppress on darwin.

From-SVN: r142273

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

index 7f8786bb3ea8ea3de0425bf8b4592f4de1b5aba3..e36902281ae6c8f1cee286f78d5f0026be6a1ff0 100644 (file)
@@ -1,3 +1,8 @@
+2008-11-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR testsuite/38311
+       * ssp-2.c: Link with -Wl,-multiply_defined,suppress on darwin.
+
 2008-11-28  Jason Merrill  <jason@redhat.com>
 
        PR c++/38233
index 493f3c92d3a567cf492a6065507c7226a615e6e8..9a7ac3206fd8e5a0799c340cbd3aa68aed25dc2a 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run { target native } } */
 /* { dg-options "-fstack-protector" } */
+/* { dg-options "-fstack-protector -Wl,-multiply_defined,suppress" { target *-*-darwin* } } */
 /* { dg-require-effective-target fstack_protector } */
 
 #include <stdlib.h>