https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120542

            Bug ID: 120542
           Summary: Return statement crashes the compiler
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: belka at caraus dot de
  Target Milestone: ---

Created attachment 61572
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61572&action=edit
-freport-bug output

The following code causes an ICE:

```
MODULE Sample;

BEGIN
  RETURN 0
END Sample.
```

Details are in the attachment.

Reply via email to