+2016-06-11 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR fortran/60751
+ * io.c (gfc_resolve_dt): Replace GFC_STD_GNU with GFC_STD_LEGACY.
+
2016-06-10 Thomas Schwinge <thomas@codesourcery.com>
PR c/71381
}
if (dt->extra_comma
- && !gfc_notify_std (GFC_STD_GNU, "Comma before i/o item list at %L",
+ && !gfc_notify_std (GFC_STD_LEGACY, "Comma before i/o item list at %L",
&dt->extra_comma->where))
return false;
+2016-06-11 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR target/60751
+ * gfortran.dg/comma_IO_extension_1.f90: New test.
+ * gfortran.dg/comma_IO_extension_2.f90: Likewise.
+ * gfortran.dg/array_constructor_49.f90: Remove extra comma in WRITE
+ statement.
+ * gfortran.dg/graphite/pr38083.f90: Likewise.
+ * gfortran.dg/integer_exponentiation_6.F90: Likewise and add
+ missing format.
+
2016-06-11 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/case_character.adb: New test.
program t
integer :: ndim=2, ndfp=4, i
character (len=8) :: line
- write (unit=line,fmt='(4I2)'), (/ ( i, i = 1, ndfp ) /) + ndim
+ write (unit=line,fmt='(4I2)') (/ ( i, i = 1, ndfp ) /) + ndim
if (line /= ' 3 4 5 6') call abort
end program t
! { dg-final { scan-tree-dump-times "__var" 3 "original" } }
10 IF (IL .GE. IH) GO TO 80
20 NSEGS = (IH + IL) / 2
IF (NSEGS .GT. MAXSGS) THEN
- WRITE (IOUNIT),MAXSGS
+ WRITE (IOUNIT) MAXSGS
ENDIF
80 NSEGS = NSEGS - 1
90 IF (IH - IL .GE. 11) GO TO 20
! { dg-options "-fno-range-check" }
program test
- write (*), (2_8 ** 64009999_8) / 2
+ write (*,*) (2_8 ** 64009999_8) / 2
end program test