https://gcc.gnu.org/g:25e9d84d3218492125bb0a63f23034f1f8306dfb

commit r16-7711-g25e9d84d3218492125bb0a63f23034f1f8306dfb
Author: Torbjörn SVENSSON <[email protected]>
Date:   Wed Feb 25 18:07:46 2026 +0100

    testsuite: add require effective target pthread to gcov-threads-1.C
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/gcov/gcov-threads-1.C: Add require effective target
            pthread.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Diff:
---
 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 54fcdcab39c2..fd9be47cc0aa 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>

Reply via email to