This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Change test to expected PASS instead of XFAIL on AIX 6 or above
- From: Violeta Menendez Gonzalez <violeta dot menendez at codethink dot co dot uk>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 20 Mar 2017 17:29:27 +0000
- Subject: Change test to expected PASS instead of XFAIL on AIX 6 or above
- Authentication-results: sourceware.org; auth=none
2017-03-20 Violeta Menendez Gonzalez <violeta.menendez@codethink.co.uk>
Change test to expected PASS instead of XFAIL on AIX 6 or above.
For these versions the precision of the floating point for printf was
increased from 17 digits to 37 digits
https://www.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.basetrf1/printf.htm
* gfortran.dg/default_format_1.f90: PASS on AIX 6 or above
* gfortran.dg/default_format_denormal_1.f90: likewise
--
Violeta Menéndez González http://www.codethink.co.uk/
Software Engineer Codethink - Providing Genius
diff --git a/gcc/testsuite/gfortran.dg/default_format_1.f90 b/gcc/testsuite/gfortran.dg/default_format_1.f90
index 65307bb..1a265ef 100644
--- a/gcc/testsuite/gfortran.dg/default_format_1.f90
+++ b/gcc/testsuite/gfortran.dg/default_format_1.f90
@@ -1,4 +1,4 @@
-! { dg-do run { xfail spu-*-* powerpc-ibm-aix* } }
+! { dg-do run { xfail spu-*-* powerpc-ibm-aix[0-5].* } }
! Test XFAILed on Darwin because the system's printf() lacks
! proper support for denormals.
!
diff --git a/gcc/testsuite/gfortran.dg/default_format_denormal_1.f90 b/gcc/testsuite/gfortran.dg/default_format_denormal_1.f90
index d74daac..78e72c0 100644
--- a/gcc/testsuite/gfortran.dg/default_format_denormal_1.f90
+++ b/gcc/testsuite/gfortran.dg/default_format_denormal_1.f90
@@ -1,4 +1,4 @@
-! { dg-do run { xfail *-*-darwin[89]* *-*-cygwin* spu-*-* powerpc-ibm-aix* } }
+! { dg-do run { xfail *-*-darwin[89]* *-*-cygwin* spu-*-* powerpc-ibm-aix[0-5]* } }
! Test XFAILed on these platforms because the system's printf() lacks
! proper support for denormals.
!