https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83865
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #4 from anlauf at gcc dot gnu.org --- As found in comment#0, it appears to be the array constructor for length 0 which is mishandled. allocate (z, source=[ character(1) :: 'a']) ! works allocate (z, source=[ character(0) :: 'a']) ! ICEs