From e35503833c0418fb6a0475f6e927cbcf64814c1e Mon Sep 17 00:00:00 2001
From: John David Anglin <danglin@gcc.gnu.org>
Date: Sun, 2 Apr 2023 20:03:48 +0000
Subject: [PATCH] Skip gnat.dg/prot7.adb on hppa.

Test needs to be skipped if the target does not support atomic primitives.

2023-04-02  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

	PR target/109376
	* gnat.dg/prot7.adb: Skip on hppa.
---
 gcc/testsuite/gnat.dg/prot7.adb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gnat.dg/prot7.adb b/gcc/testsuite/gnat.dg/prot7.adb
index 6051ef0054f9..5f4ec1ee97a8 100644
--- a/gcc/testsuite/gnat.dg/prot7.adb
+++ b/gcc/testsuite/gnat.dg/prot7.adb
@@ -1,4 +1,5 @@
 --  { dg-do compile }
+--  { dg-skip-if "not lock free" { hppa-*-* } }
 --  { dg-options "-gnatwa -gnatVa" }
 
 package body Prot7 is
-- 
GitLab