https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114296
Bug ID: 114296 Summary: ICE when attempting to create a constant set with a variable element Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: gaius at gcc dot gnu.org Target Milestone: --- As reported on the mailing list attempting to create a constant set using a variable will cause an ICE. MODULE tiny2 ; VAR x: CARDINAL ; ch: CHAR ; BEGIN x := 6 ; ch := {7 .. x}; END tiny2.