https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83149
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #4 from kargl at gcc dot gnu.org --- The code in comment #0 compiles with gfortran 8.0.0 20171224. The code in comment #2 still causes an ICE. The code in this comment is probably invalid as ncells is never set. It may also be invalid in that ncells may not be allowed to be used in an initialization expression, but I would need to go read up on the conditions on initialization expression and host association.