http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51059
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-11
Ever Confirmed|0 |1
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-11 15:39:55
UTC ---
Darwin's weak comes with a price .... flat namespace.
try this:
Index: gcc/testsuite/gcc.misc-tests/gcov-14.c
===================================================================
--- gcc/testsuite/gcc.misc-tests/gcov-14.c (revision 181278)
+++ gcc/testsuite/gcc.misc-tests/gcov-14.c (working copy)
@@ -1,6 +1,7 @@
/* Test gcov extern inline. */
/* { dg-options "-O2 -fprofile-arcs -ftest-coverage" } */
+/* { dg-options "-O2 -fprofile-arcs -ftest-coverage -flat_namespace
-undefined suppress" { target *-*-darwin* } } */
/* { dg-require-weak "" } */
/* { dg-do run { target native } } */