diff options
| author | Harald Anlauf <anlauf@gmx.de> | 2025-12-08 11:48:29 -0800 |
|---|---|---|
| committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2025-12-08 12:48:06 -0800 |
| commit | cf270d06000e34cf493ae6625385080e39677af8 (patch) | |
| tree | 6b2db1d2a8d56a63a6b804d8c2d6b51ff1545f82 /libjava/classpath/java/sql/package.html | |
| parent | 24efdb0974e19f9c31731dc0d8bdf52044705b50 (diff) | |
| download | gcc-cf270d06000e34cf493ae6625385080e39677af8.zip gcc-cf270d06000e34cf493ae6625385080e39677af8.tar.gz gcc-cf270d06000e34cf493ae6625385080e39677af8.tar.bz2 | |
Fortran: [PR123025] Catch Old-style character declarations.
Before this patch we missed the two cases here:
character*5 string5 ! Gives obsolescent message
character*(5) string5const ! Silent with constant
character*(2+3) string5expr ! Silent with expression
PR fortran/123025
gcc/fortran/ChangeLog:
* decl.cc (match_char_length): Add a check for the
obsolete '*' style of character declarations in the
alternate branch of checking so we dont miss two
use cases:
gcc/testsuite/ChangeLog:
* gfortran.dg/assumed_charlen_dummy.f90: These tests failed
with the change because of the default -pedantic option
used by the dg.exp mechanisms. Overide this default.
* gfortran.dg/automatic_char_len_1.f90: Ditto.
* gfortran.dg/entry_23.f: Ditto.
* gfortran.dg/finalize_59.f90: Dito.
* gfortran.dg/g77/f90-intrinsic-bit.f: Ditto.
* gfortran.dg/g77/f90-intrinsic-mathematical.f: Ditto.
* gfortran.dg/g77/f90-intrinsic-numeric.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-erf.f: Ditto.
* gfortran.dg/initialization_9.f90: Ditto.
* gfortran.dg/intrinsic_actual_4.f90: Ditto.
* gfortran.dg/namelist_assumed_char.f90: Ditto.
* gfortran.dg/pr15140.f90: Ditto.
Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
Diffstat (limited to 'libjava/classpath/java/sql/package.html')
0 files changed, 0 insertions, 0 deletions
