[Bug fortran/93833] [8/9/10/11 Regression] ICE in trans_array_constructor, at fortran/trans-array.c:2566
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 25 08:56:01 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93833
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:75d3d65641e1724d492816bd380587df486209c0
commit r10-9295-g75d3d65641e1724d492816bd380587df486209c0
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Tue Dec 29 17:37:25 2020 +0000
Fortran: Fix deferred character lengths in array constructors [PR93833].
2020-12-29 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/93833
* trans-array.c (get_array_ctor_var_strlen): If the character
length backend_decl cannot be found, convert the expression and
use the string length. Clear up some minor white space issues
in the rest of the file.
gcc/testsuite/
PR fortran/93833
* gfortran.dg/deferred_character_36.f90 : New test.
(cherry picked from commit feae0af82753e06fbff6103da5fbb3b28e1ddbd7)
More information about the Gcc-bugs
mailing list