From acca546b99e0773355649e276268a7672f273f18 Mon Sep 17 00:00:00 2001
From: John David Anglin <danglin@gcc.gnu.org>
Date: Sun, 15 Dec 2024 15:53:12 -0500
Subject: [PATCH] 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  <danglin@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.
---
 gcc/testsuite/c-c++-common/gomp/unroll-4.c | 2 +-
 gcc/testsuite/c-c++-common/gomp/unroll-5.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/c-c++-common/gomp/unroll-4.c b/gcc/testsuite/c-c++-common/gomp/unroll-4.c
index 65c51cc0e501..47bdbbc8300f 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 415d42136a7e..810ac27b230d 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* } } } */
-- 
GitLab