diff mbox

Change test to expected PASS instead of XFAIL on AIX 6 or above

Message ID 20170320172927.543f4456@gunter.codethink.co.uk
State New
Headers show

Commit Message

Violeta Menendez Gonzalez March 20, 2017, 5:29 p.m. UTC
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
diff mbox

Patch

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.
 !