re PR testsuite/51059 (FAIL: gcc.misc-tests/gcov-14.c (test for excess errors) on...
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Nov 2011 14:30:45 +0000 (14:30 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 12 Nov 2011 14:30:45 +0000 (14:30 +0000)
gcc/testsuite:

PR testsuite/51059
* gcc.misc-tests/gcov-14.c (dg-options): Force flat namespace for
Darwin targets and allow external symbols to be undefined.

From-SVN: r181317

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/gcov-14.c

index 1d5be98..f86b21c 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-12  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR testsuite/51059
+       * gcc.misc-tests/gcov-14.c (dg-options): Force flat namespace for
+       Darwin targets and allow external symbols to be undefined.
+
 2011-11-12  Nathan Sidwell  <nathan@acm.org>
 
        * gcc.misc-tests/gcov-15.c: New.
index 0eaf284..82fb4c0 100644 (file)
@@ -1,6 +1,8 @@
 /* Test gcov extern inline.  */
 
 /* { dg-options "-O2 -fprofile-arcs -ftest-coverage" } */
+/* The following line arranges that Darwin has behavior like elf weak import.  */
+/* { dg-options "-O2 -fprofile-arcs -ftest-coverage  -flat_namespace -undefined suppress" { target *-*-darwin* }  } */
 /* { dg-require-weak "" } */
 /* { dg-do run { target native } } */