diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2008-11-29 03:05:18 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2008-11-28 19:05:18 -0800 |
commit | bce4ea615d18b2bc6fef33aa4ea375511169c42a (patch) | |
tree | c99a75147eebd70009515375b3f45e630ede4cd3 /gcc/testsuite/gcc.dg | |
parent | ebf24eb46ae379535757927daf47792350d9d328 (diff) | |
download | gcc-bce4ea615d18b2bc6fef33aa4ea375511169c42a.zip gcc-bce4ea615d18b2bc6fef33aa4ea375511169c42a.tar.gz gcc-bce4ea615d18b2bc6fef33aa4ea375511169c42a.tar.bz2 |
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
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/ssp-2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/ssp-2.c b/gcc/testsuite/gcc.dg/ssp-2.c index 493f3c9..9a7ac32 100644 --- a/gcc/testsuite/gcc.dg/ssp-2.c +++ b/gcc/testsuite/gcc.dg/ssp-2.c @@ -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> |