The recent io_real_boz_[345].f90 tests were failing for 32-bit MIPS
GNU/Linux, which doesn't support 16-byte reals.  Fixed with the patch
below.  Tested on mips64-linux-gnu (where the test continue to pass for
64-bit multilibs) and applied as obvious.

Richard


gcc/testsuite/
        * gfortran.dg/io_real_boz_3.f90: Require fortran_real_16.
        * gfortran.dg/io_real_boz_4.f90: Likewise.
        * gfortran.dg/io_real_boz_5.f90: Likewise.

Index: gcc/testsuite/gfortran.dg/io_real_boz_3.f90
===================================================================
--- gcc/testsuite/gfortran.dg/io_real_boz_3.f90 2011-12-30 17:47:59.000000000 
+0000
+++ gcc/testsuite/gfortran.dg/io_real_boz_3.f90 2011-12-30 17:48:03.000000000 
+0000
@@ -1,5 +1,6 @@
 ! { dg-do  run }
 ! { dg-options "-std=f2008" }
+! { dg-require-effective-target fortran_real_16 }
 !
 ! PR fortran/51407
 !
Index: gcc/testsuite/gfortran.dg/io_real_boz_4.f90
===================================================================
--- gcc/testsuite/gfortran.dg/io_real_boz_4.f90 2011-12-30 17:47:48.000000000 
+0000
+++ gcc/testsuite/gfortran.dg/io_real_boz_4.f90 2011-12-30 17:47:50.000000000 
+0000
@@ -1,5 +1,6 @@
 ! { dg-do  run }
 ! { dg-options "-std=f2003" }
+! { dg-require-effective-target fortran_real_16 }
 !
 ! PR fortran/51407
 !
Index: gcc/testsuite/gfortran.dg/io_real_boz_5.f90
===================================================================
--- gcc/testsuite/gfortran.dg/io_real_boz_5.f90 2011-12-30 17:47:24.000000000 
+0000
+++ gcc/testsuite/gfortran.dg/io_real_boz_5.f90 2011-12-30 17:47:40.000000000 
+0000
@@ -1,5 +1,6 @@
 ! { dg-do  run }
 ! { dg-options "-std=f2008" }
+! { dg-require-effective-target fortran_real_16 }
 !
 ! PR fortran/51407
 !

Reply via email to