diff options
author | Harald Anlauf <anlauf@gmx.de> | 2024-07-02 21:26:05 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2024-07-03 19:00:30 +0200 |
commit | 7b7f203472d07a05d959a29638c7c95d98bf0c1c (patch) | |
tree | c37547469121919894406143d7d866dd709ff5cd /gcc/DATESTAMP | |
parent | 70f6bc39c4b0e147a816ad1dad583f944616c367 (diff) | |
download | gcc-7b7f203472d07a05d959a29638c7c95d98bf0c1c.zip gcc-7b7f203472d07a05d959a29638c7c95d98bf0c1c.tar.gz gcc-7b7f203472d07a05d959a29638c7c95d98bf0c1c.tar.bz2 |
Fortran: fix associate with assumed-length character array [PR115700]
gcc/fortran/ChangeLog:
PR fortran/115700
* trans-stmt.cc (trans_associate_var): When the associate target
is an array-valued character variable, the length is known at entry
of the associate block. Move setting of string length of the
selector to the initialization part of the block.
gcc/testsuite/ChangeLog:
PR fortran/115700
* gfortran.dg/associate_69.f90: New test.
Diffstat (limited to 'gcc/DATESTAMP')
0 files changed, 0 insertions, 0 deletions