From a163acfa5dc5177a4dcd7ef5e72e6aa233563f61 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Mon, 14 Nov 2011 11:53:33 +0000 Subject: [PATCH] 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): Adjust to use dg-additional-options. From-SVN: r181350 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.misc-tests/gcov-14.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7fa24e782bbc..183c4d5cd2fd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-11-14 Iain Sandoe + + PR testsuite/51059 + * gcc.misc-tests/gcov-14.c (dg-options): Adjust to use + dg-additional-options. + 2011-11-13 Oleg Endo * gcc.target/sh/pr21255-2-ml.c: Skip if -mb or -m5* is diff --git a/gcc/testsuite/gcc.misc-tests/gcov-14.c b/gcc/testsuite/gcc.misc-tests/gcov-14.c index 82fb4c0df529..9e16cee52cb5 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-14.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-14.c @@ -2,7 +2,7 @@ /* { 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-additional-options "-flat_namespace -undefined suppress" { target *-*-darwin* } } */ /* { dg-require-weak "" } */ /* { dg-do run { target native } } */