On Wed, 25 Feb 2026, Torbjörn SVENSSON wrote: > Ok for trunk?
OK. > -- > > gcc/testsuite/ChangeLog: > > * g++.dg/gcov/gcov-threads-1.C: Add require effective target > pthread. > > Signed-off-by: Torbjörn SVENSSON <[email protected]> > --- > gcc/testsuite/g++.dg/gcov/gcov-threads-1.C | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C > b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C > index 54fcdcab39c..fd9be47cc0a 100644 > --- a/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C > +++ b/gcc/testsuite/g++.dg/gcov/gcov-threads-1.C > @@ -1,6 +1,7 @@ > /* { dg-options "-fprofile-arcs -ftest-coverage -pthread > -fprofile-update=atomic" } */ > /* { dg-do run } */ > /* { dg-require-effective-target profile_update_atomic } */ > +/* { dg-require-effective-target pthread } */ > > #include <stdint.h> > #include <pthread.h> > -- Richard Biener <[email protected]> SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Jochen Jaser, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)
