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

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

https://gcc.gnu.org/g:4856affe9e08a3562792d6cde217cd06c1ef93da

commit r15-9754-g4856affe9e08a3562792d6cde217cd06c1ef93da
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/119856

    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.

    (cherry picked from commit e2bf0b3910de7e65363435f0a7fa606e2448a677)

Reply via email to