https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117904
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- It appears that cc1gm2 doesn't like the ZType being used as the step type block. If the declaration of block is changed to a CARDINAL constant the ICE disappears. For example: CONST block = CARDINAL (4); $ gm2 TstXXX2.mod $