Index: gcc/gcc/testsuite/gfortran.dg/read_float_1.f90 |
diff --git a/gcc/gcc/testsuite/gfortran.dg/read_float_1.f90 b/gcc/gcc/testsuite/gfortran.dg/read_float_1.f90 |
index 86589c053b68cd5c83565cecbbc897d75f52dd62..0848ee67590bee1945367e64f4c6ec3e31e4c3db 100644 |
--- a/gcc/gcc/testsuite/gfortran.dg/read_float_1.f90 |
+++ b/gcc/gcc/testsuite/gfortran.dg/read_float_1.f90 |
@@ -1,4 +1,6 @@ |
! { dg-do run } |
+! { dg-options "-std=legacy" } |
+! |
! PR18218 |
! The IO library has an algorithm that involved repeated multiplication by 10, |
! resulting in introducing large cumulative floating point errors. |