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

Dave
---

testsuite: xfail scan-assembler-times in c-c++-common/gomp/unroll-[45].c

Count differs on hppa*-*-hpux* due to hpux specific directives.

2024-12-15  John David Anglin  <dang...@gcc.gnu.org>

gcc/testsuite/ChangeLog:

        * c-c++-common/gomp/unroll-4.c: xfail scan-assembler-times
        "dummy" for hppa*-*-hpux*.
        * c-c++-common/gomp/unroll-5.c: Likewise.

diff --git a/gcc/testsuite/c-c++-common/gomp/unroll-4.c 
b/gcc/testsuite/c-c++-common/gomp/unroll-4.c
index 65c51cc0e50..47bdbbc8300 100644
--- a/gcc/testsuite/c-c++-common/gomp/unroll-4.c
+++ b/gcc/testsuite/c-c++-common/gomp/unroll-4.c
@@ -15,4 +15,4 @@ test1 (void)
 /* { dg-final { scan-tree-dump "#pragma omp unroll" "original" } } */
 /* { dg-final { scan-tree-dump-not "#pragma omp" "gimple" } } */
 /* { dg-final { scan-tree-dump-times "dummy" 1 "gimple" } } */
-/* { dg-final { scan-assembler-times "dummy" 8 } } */
+/* { dg-final { scan-assembler-times "dummy" 8 { xfail hppa*-*-hpux* } } } */
diff --git a/gcc/testsuite/c-c++-common/gomp/unroll-5.c 
b/gcc/testsuite/c-c++-common/gomp/unroll-5.c
index 415d42136a7..810ac27b230 100644
--- a/gcc/testsuite/c-c++-common/gomp/unroll-5.c
+++ b/gcc/testsuite/c-c++-common/gomp/unroll-5.c
@@ -15,4 +15,4 @@ test1 (void)
 /* { dg-final { scan-tree-dump "#pragma omp unroll" "original" } } */
 /* { dg-final { scan-tree-dump-not "#pragma omp" "gimple" } } */
 /* { dg-final { scan-tree-dump-times "dummy" 1 "gimple" } } */
-/* { dg-final { scan-assembler-times "dummy" 8 } } */
+/* { dg-final { scan-assembler-times "dummy" 8 { xfail hppa*-*-hpux* } } } */

Attachment: signature.asc
Description: PGP signature

Reply via email to