This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch testsuite/darwin] fix PR testsuite/51059
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Iain Sandoe <developer at sandoe-acoustics dot co dot uk>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mrs at gcc dot gnu dot org>
- Date: Mon, 14 Nov 2011 10:50:45 +0100
- Subject: Re: [Patch testsuite/darwin] fix PR testsuite/51059
- References: <5C7640DD-1BEF-4877-AAB8-44279750FAB0@sandoe-acoustics.co.uk>
Iain,
> This probably qualifies as obvious - but having discussed some of the
> background with Mike ..
> .. there are other ways of solving the problem - although probably rather
> heavy-weight for this problem.
>
> .. So, I'll let him have the say...
>
> OK for trunk?
> Iain
>
> testsuite:
>
> PR testsuite/51059
> * gcc.misc-tests/gcov-14.c (dg-options): Force flat namespace for
> Darwin targets and allow the Foo symbol to be undefined.
>
> Index: gcc/testsuite/gcc.misc-tests/gcov-14.c
> ===================================================================
> --- gcc/testsuite/gcc.misc-tests/gcov-14.c (revision 181293)
> +++ 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 "" } */
I'd prefer if you'd use the new dg-additional-options instead of
duplicating the complete set of default options.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University