[Bug fortran/70149] [F08] Character pointer initialization causes ICE
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 30 12:22:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Sep 30 07:02:49 2018
New Revision: 264721
URL: https://gcc.gnu.org/viewcvs?rev=264721&root=gcc&view=rev
Log:
2018-09-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/70149
* trans-decl.c (gfc_get_symbol_decl): A deferred character
length pointer that is initialized needs the string length to
be initialized as well.
2018-09-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/70149
* gfortran.dg/deferred_character_24.f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/deferred_character_24.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list