https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618
--- Comment #30 from janus at gcc dot gnu.org --- (In reply to janus from comment #29) > I'm now regtesting this: No failures! Will commit this soon. For gfc_convert_type_warn the changes are possibly not really necessary (since it deals with non-char types which normally do not have a charlen), but they do not hurt either. It might even be a good idea to merge the two functions into one, in order to get rid of the code duplication. But I'm not sure if there are any obstacles. Will open a follow-up PR to investigate this.