https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89266
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Blocks| |19276, 31237
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Goes back a long time, at least to gcc 6.
I also think that this is valid code, but if somebody can find
language in the standard that says otherwise, please correct.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19276
[Bug 19276] [meta-bug] CHARACTER related bugs in gfortran
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31237
[Bug 31237] [meta-bug] TRANSFER intrinsic