https://gcc.gnu.org/g:85867b0c93563e0c07e381b2e2473fb311e0dc5f

commit r17-5747-g85867b0c93563e0c07e381b2e2473fb311e0dc5f
Author: John David Anglin <[email protected]>
Date:   Thu Oct 29 16:21:29 2026 -0400

    Revert "testsuite: Fix g++.dg/gomp/deprecate-1.C on hppa targets (v2)"
    
    This reverts commit 8ed21dfa6f62b80147fd5f444e9fd0da1ffc5a36.

Diff:
---
 gcc/testsuite/g++.dg/gomp/deprecate-1.C | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/g++.dg/gomp/deprecate-1.C 
b/gcc/testsuite/g++.dg/gomp/deprecate-1.C
index cafa5b6dd123..37ff86a8daaf 100644
--- a/gcc/testsuite/g++.dg/gomp/deprecate-1.C
+++ b/gcc/testsuite/g++.dg/gomp/deprecate-1.C
@@ -109,14 +109,16 @@ bar ()
    { dg-end-multiline-output "" } */
   ;
   #pragma omp master                           /* { dg-warning "'master' 
construct deprecated since OpenMP 5.1, use 'masked'" } */
-/* { dg-begin-multiline-output "" { target { ! hppa*-*-* } } }
+/* { dg-begin-multiline-output "" }
    #pragma omp master
                                                                                
                                                     ^
    { dg-end-multiline-output "" } */
   ;
   #pragma omp metadirective when (device={arch("blahblah")}: nothing) default 
(nothing)                /* { dg-warning "'default' clause on metadirectives 
deprecated since OpenMP 5.2, use 'otherwise'" } */
-/* { dg-regexp ".*pragma omp metadirective when.*" { target hppa*-*-* } } */
-/* { dg-regexp ".*\\^~~~~~~.*" { target hppa*-*-* } } */
-/* { dg-regexp ".*otherwise.*" { target hppa*-*-* } } */
+/* { dg-begin-multiline-output "" }
+   #pragma omp metadirective when (device={arch("blahblah")}: nothing) default 
(nothing)
+                                                                       ^~~~~~~
+                                                                       
otherwise
+   { dg-end-multiline-output "" } */
   ;
 }

Reply via email to