This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/60751] Extra comma in WRITE statement not diagnosed
- From: "dominiq at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Jun 2016 14:04:40 +0000
- Subject: [Bug fortran/60751] Extra comma in WRITE statement not diagnosed
- Auto-submitted: auto-generated
- References: <bug-60751-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60751
--- Comment #22 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Jun 12 14:04:08 2016
New Revision: 237337
URL: https://gcc.gnu.org/viewcvs?rev=237337&root=gcc&view=rev
Log:
2016-06-12 Dominique d'Humieres <dominiq@lps.ens.fr>
PR fortran/60751
* io.c (gfc_resolve_dt): Replace GFC_STD_GNU with GFC_STD_LEGACY.
* 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/guality/pr41558.f90: Likewise.
* gfortran.dg/integer_exponentiation_6.F90: Likewise and add
missing format.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/comma_IO_extension_1.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/comma_IO_extension_2.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/io.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/array_constructor_49.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/graphite/pr38083.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/guality/pr41558.f90
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/integer_exponentiation_6.F90