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
This commit is contained in:
Iain Sandoe 2011-11-12 14:30:45 +00:00
parent 220c688a77
commit 173a8c50f1
2 changed files with 8 additions and 0 deletions

View 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.

View 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 } } */