This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/60751] Extra comma in WRITE statement not diagnosed


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]