diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2011-11-12 14:30:45 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2011-11-12 14:30:45 +0000 |
commit | 173a8c50f1bc60e6705fd4d515ea28c911f9c635 (patch) | |
tree | 1097b9448dffa009d261461bd229818450f0e062 /gcc | |
parent | 220c688a77f4cb78d8e8ec0a19fb2a6684508a67 (diff) | |
download | gcc-173a8c50f1bc60e6705fd4d515ea28c911f9c635.zip gcc-173a8c50f1bc60e6705fd4d515ea28c911f9c635.tar.gz gcc-173a8c50f1bc60e6705fd4d515ea28c911f9c635.tar.bz2 |
re PR testsuite/51059 (FAIL: gcc.misc-tests/gcov-14.c (test for excess errors) on *-apple-darwin*)
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/gcov-14.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1d5be98..f86b21c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c index 0eaf284..82fb4c0 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-14.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-14.c @@ -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 } } */ |