[committed] Skip gfortran.dg/dec_math.f90 on hppa*-*-hpux*

Message ID ZZx2CtWx8EMNjxS0@mx3210.localdomain
State Accepted
Headers
Series [committed] Skip gfortran.dg/dec_math.f90 on hppa*-*-hpux* |

Checks

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

Commit Message

John David Anglin Jan. 8, 2024, 10:24 p.m. UTC
  Tested on hppa64-hp-hpux11.11.  Committed to trunk.

Dave
---

Skip gfortran.dg/dec_math.f90 on hppa

hppa*-*-hpux* doesn't have any long double trig functions.

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

gcc/testsuite/ChangeLog:

	* gfortran.dg/dec_math.f90: Skip on hppa*-*-hpux*.
  

Patch

diff --git a/gcc/testsuite/gfortran.dg/dec_math.f90 b/gcc/testsuite/gfortran.dg/dec_math.f90
index d95233a5169..393e7def88e 100644
--- a/gcc/testsuite/gfortran.dg/dec_math.f90
+++ b/gcc/testsuite/gfortran.dg/dec_math.f90
@@ -1,5 +1,6 @@ 
 ! { dg-options "-cpp -std=gnu" }
 ! { dg-do run { xfail i?86-*-freebsd* } }
+! { dg-skip-if "No long double libc functions" { hppa*-*-hpux* } }
 !
 ! Test extra math intrinsics formerly offered by -fdec-math,
 ! now included with -std=gnu or -std=legacy.