https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100917
--- Comment #5 from sandra at gcc dot gnu.org --- Here's a related problem: the GFC descriptor representation can't distinguish between CHARACTER(kind=ucs4, len=1) and CHARACTER(kind=c_char, len=4) because all it has is elem_len == 4.