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