https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I see nowhere in resolve.c (resolve_allocate_expr) any attempt to resolve the chraracter length. I think it has been missed. I have cc'ed Paul to see if he has any thoughts.