[COMMITTED] XFAIL default_format_2.f90 and default_format_denormal_2.f90 on hppa*-*-hpux*
Checks
Commit Message
Tested on hppa64-hp-hpux11.11. Committed to trunk.
Dave
---
XFAIL default_format_2.f90 and default_format_denormal_2.f90 on hppa*-*-hpux*
On hppa*-*-hpux*, snprintf only provides 33 digits of decimal
precision for long doubles. This is insufficient to uniquely
identify long double values. As a result, these tests fail.
2026-08-05 John David Anglin <danglin@gcc.gnu.org>
gcc/testsuite/ChangeLog:
* gfortran.dg/default_format_2.f90: XFAIL on hppa*-*-hpux*.
* gfortran.dg/default_format_denormal_2.f90: Likewise.
@@ -1,7 +1,10 @@
-! { dg-do run { xfail long_double_is_ibm128 } }
+! { dg-do run { xfail { long_double_is_ibm128 || hppa*-*-hpux* } } }
! { dg-require-effective-target fortran_large_real }
! Test XFAILed on these platforms because the system's printf() lacks
! proper support for denormalized long doubles. See PR24685
+! On hppa*-*-hpux*, snprintf only provides 33 digits of decimal
+! precision for long doubles. This is insufficient to uniquely
+! identify long double values.
!
! This tests that the default formats for formatted I/O of reals are
! wide enough and have enough precision, by checking that values can
@@ -1,7 +1,10 @@
-! { dg-do run { xfail long_double_is_ibm128 } }
+! { dg-do run { xfail { long_double_is_ibm128 || hppa*-*-hpux* } } }
! { dg-require-effective-target fortran_large_real }
! Test XFAILed on this platform because the system's printf() lacks
! proper support for denormalized long doubles. See PR24685
+! On hppa*-*-hpux*, snprintf only provides 33 digits of decimal
+! precision for long doubles. This is insufficient to uniquely
+! identify long double values.
!
! This tests that the default formats for formatted I/O of reals are
! wide enough and have enough precision, by checking that values can