This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch testsuite/darwin] fix PR testsuite/51059


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]