https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119586

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdeli...@gcc.gnu.org>:

https://gcc.gnu.org/g:e2bf0b3910de7e65363435f0a7fa606e2448a677

commit r16-939-ge2bf0b3910de7e65363435f0a7fa606e2448a677
Author: Jerry DeLisle <jvdeli...@gcc.gnu.org>
Date:   Wed May 28 07:56:12 2025 -0700

    Fortran: Adjust handling of optional comma in FORMAT.

            This change adjusts the error messages for optional commas
            in format strings to give a warning at compile time unless
            -std=legacy is used. This is more consistant with the
            runtime library. A missing comma separator should not be
            encouraged as it is non-standard fortran.

            PR fortran/119586

    gcc/fortran/ChangeLog:

            * io.cc: Set missing comma error checks to STD_STD_LEGACY.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/comma_format_extension_1.f: Update dg-options to
            "-std=legacy".
            * gfortran.dg/comma_format_extension_3.f: Likewise.
            * gfortran.dg/continuation_13.f90: Likewise.

Reply via email to