[Bug fortran/77505] Negative character length not treated as LEN=0
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 7 19:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77505
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-09-07
CC| |kargl at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from kargl at gcc dot gnu.org ---
This is going to require someone smarting than I to fix.
The problem lies in trans-array.c (get_array_ctor_strlen).
This function walks the elments of the array constructor
looking for the string length. It nave takes into account
the type spec in [character(len=ii) :: ....].
More information about the Gcc-bugs
mailing list