]> gcc.gnu.org Git - gcc.git/commit
Fortran: fix ICE in check_charlen_present [PR108420]
authorHarald Anlauf <anlauf@gmx.de>
Mon, 16 Jan 2023 20:41:09 +0000 (21:41 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 28 Jan 2023 21:27:47 +0000 (22:27 +0100)
commit523ee9f5994961b27c61d46b27dbe064f68d0d76
tree204f9caa5bfdc630eedaec9d4756a99b0debf4dc
parentdaa4c49a4773f274b7a784cedd7b0e0b3c59523b
Fortran: fix ICE in check_charlen_present [PR108420]

gcc/fortran/ChangeLog:

PR fortran/108420
* iresolve.cc (check_charlen_present): Preserve character length if
there is no array constructor.

gcc/testsuite/ChangeLog:

PR fortran/108420
* gfortran.dg/pr108420.f90: New test.

(cherry picked from commit e6669c0a50ed8aee9e5997d61e6271668d149218)
gcc/fortran/iresolve.cc
gcc/testsuite/gfortran.dg/pr108420.f90 [new file with mode: 0644]
This page took 0.070497 seconds and 6 git commands to generate.