diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-05-28 07:56:12 -0700 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-06-01 18:13:24 -0700 |
commit | 4856affe9e08a3562792d6cde217cd06c1ef93da (patch) | |
tree | fcc8495fe94dcf8dea3de48c39d6e9eb6b0d8e0e /gcc/dwarf2ctf.cc | |
parent | 9e734259dc4b15982727697d88d59170e71de53d (diff) | |
download | gcc-4856affe9e08a3562792d6cde217cd06c1ef93da.zip gcc-4856affe9e08a3562792d6cde217cd06c1ef93da.tar.gz gcc-4856affe9e08a3562792d6cde217cd06c1ef93da.tar.bz2 |
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)
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions