re PR testsuite/38311 (ssp-2.c fails on darwin because of duplicated symbols)

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
This commit is contained in:
Andrew Pinski 2008-11-29 03:05:18 +00:00 committed by Andrew Pinski
parent ebf24eb46a
commit bce4ea615d
2 changed files with 6 additions and 0 deletions

View 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> 2008-11-28 Jason Merrill <jason@redhat.com>
PR c++/38233 PR c++/38233

View File

@ -1,5 +1,6 @@
/* { dg-do run { target native } } */ /* { dg-do run { target native } } */
/* { dg-options "-fstack-protector" } */ /* { dg-options "-fstack-protector" } */
/* { dg-options "-fstack-protector -Wl,-multiply_defined,suppress" { target *-*-darwin* } } */
/* { dg-require-effective-target fstack_protector } */ /* { dg-require-effective-target fstack_protector } */
#include <stdlib.h> #include <stdlib.h>