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  <dang...@gcc.gnu.org>

libgomp/ChangeLog:

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

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 } } */

Attachment: signature.asc
Description: PGP signature

Reply via email to