[committed] Don't run libgomp.c/simd-math-1.c on hppa*-*-hpux*

Message ID Zaw9qfC234ing4XS@mx3210.localdomain
State Accepted
Headers
Series [committed] Don't run libgomp.c/simd-math-1.c on hppa*-*-hpux* |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

John David Anglin Jan. 20, 2024, 9:39 p.m. UTC
  Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
---

Don't run libgomp.c/simd-math-1.c on hppa*-*-hpux*

hppa*-*-hpux* lacks necessary math functions.

2024-01-20  John David Anglin  <danglin@gcc.gnu.org>

libgomp/ChangeLog:

	* testsuite/libgomp.c/simd-math-1.c: Don't run on
	hppa*-*-hpux*.
  

Patch

diff --git a/libgomp/testsuite/libgomp.c/simd-math-1.c b/libgomp/testsuite/libgomp.c/simd-math-1.c
index 42a008c80fc..b30df09caf6 100644
--- a/libgomp/testsuite/libgomp.c/simd-math-1.c
+++ b/libgomp/testsuite/libgomp.c/simd-math-1.c
@@ -1,7 +1,7 @@ 
 /* Check that the SIMD versions of math routines give the same (or
    sufficiently close) results as their scalar equivalents.  */
 
-/* { dg-do run } */
+/* { dg-do run { target { ! hppa*-*-hpux* } } } */
 /* { dg-options "-O2 -ftree-vectorize -fno-math-errno" } */
 /* { dg-additional-options -foffload-options=amdgcn-amdhsa=-mstack-size=3000000 { target offload_target_amdgcn } } */
 /* { dg-additional-options "-DNONSTDFUNC=1" { target nonstandard_math_functions } } */