[Bug fortran/114611] H edit descriptor should flag as error with -std-f95 (or higher)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 27 21:25:43 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114611
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:3fb7bedb212bc7a9aee091fe20941412af689832
commit r16-3420-g3fb7bedb212bc7a9aee091fe20941412af689832
Author: Jerry DeLisle <jvdelisle@gcc.gnu.org>
Date: Tue Aug 26 11:36:25 2025 -0700
Fortran: H edit descriptor error with -std=f95
PR fortran/114611
gcc/fortran/ChangeLog:
* io.cc: Issue an error on use of the H descriptor in
a format with -std=f95 or higher. Otherwise, issue a
warning.
gcc/testsuite/ChangeLog:
* gfortran.dg/aliasing_dummy_1.f90: Accommodate errors
and warnings as needed.
* gfortran.dg/eoshift_8.f90: Likewise.
* gfortran.dg/g77/f77-edit-h-out.f: Likewise.
* gfortran.dg/hollerith_1.f90: Likewise.
* gfortran.dg/io_constraints_1.f90: Likewise.
* gfortran.dg/io_constraints_2.f90: Likewise.
* gfortran.dg/longline.f: Likewise.
* gfortran.dg/pr20086.f90: Likewise.
* gfortran.dg/unused_artificial_dummies_1.f90: Likewise.
* gfortran.dg/x_slash_1.f: Likewise.
More information about the Gcc-bugs
mailing list