Ok for trunk?

--

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>
-- 
2.43.0

Reply via email to