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

            Bug ID: 66044
           Summary: ICE on misplaced entry statement
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

Some code snippets :

---
   entry e; end
---
   subroutine p
   end
   entry e
   end
---
   program p
      type t
      contains
      entry e
      end type
   end
---

Prints, respectivly :
f951: internal compiler error: gfc_match_entry(): Bad state

Tested with gfortran 5.1.1 on SUSE Linux 13.2 (64 bit).
Kind regards.

Reply via email to