2008-11-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Nov 2008 03:05:18 +0000 (03:05 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Nov 2008 03:05:18 +0000 (03:05 +0000)
        PR testsuite/38311
        * ssp-2.c: Link with -Wl,-multiply_defined,suppress on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142273 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7f8786b..e369022 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 493f3c9..9a7ac32 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>