diff --git a/gcc/testsuite/gnat.dg/prot7.adb b/gcc/testsuite/gnat.dg/prot7.adb
index 6051ef0054f9088e8a08ff101a77fe916aa3a675..5f4ec1ee97a87f1a344cb470aab8aabbf608f4c9 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