Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
---

Remove xfail for hppa*-*-hpux* from stdatomic-flag.c and stdatomic-flag-2.c

Tests now pass on hppa64-hp-hpux11.11.

2024-01-16  John David Anglin  <dang...@gcc.gnu.org>

gcc/testsuite/ChangeLog:

        * gcc.dg/atomic/stdatomic-flag.c: Remove xfail.
        * gcc.dg/atomic/stdatomic-flag-2.c: Likewise.

diff --git a/gcc/testsuite/gcc.dg/atomic/stdatomic-flag-2.c 
b/gcc/testsuite/gcc.dg/atomic/stdatomic-flag-2.c
index aeae6b7b5ad..e4e3a6ef33d 100644
--- a/gcc/testsuite/gcc.dg/atomic/stdatomic-flag-2.c
+++ b/gcc/testsuite/gcc.dg/atomic/stdatomic-flag-2.c
@@ -1,7 +1,7 @@
 /* Test atomic_flag routines for existence and execution.  Out-of-line
    function calls.  */
 /* The test needs a lockless atomic implementation.  */
-/* { dg-do run { xfail hppa*-*-hpux* } } */
+/* { dg-do run } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
 #include <stdatomic.h>
diff --git a/gcc/testsuite/gcc.dg/atomic/stdatomic-flag.c 
b/gcc/testsuite/gcc.dg/atomic/stdatomic-flag.c
index 515d5d8dd5a..bd28ba56c24 100644
--- a/gcc/testsuite/gcc.dg/atomic/stdatomic-flag.c
+++ b/gcc/testsuite/gcc.dg/atomic/stdatomic-flag.c
@@ -1,6 +1,6 @@
 /* Test atomic_flag routines for existence and execution.  */
 /* The test needs a lockless atomic implementation.  */
-/* { dg-do run { xfail hppa*-*-hpux* } } */
+/* { dg-do run } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
 #include <stdatomic.h>

Attachment: signature.asc
Description: PGP signature

Reply via email to