https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618 --- Comment #25 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Confirmed here too! There is a similar construct for gfc_convert_chartype. Should not the same patch apply there too?