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

            Bug ID: 81367
           Summary: internal compiler error: in gfc_typenode_for_spec, at
                    fortran/trans-types.c:1086
           Product: gcc
           Version: 5.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: s.j.clark at durham dot ac.uk
  Target Milestone: ---

Coding error causes internal compiler error. Narrowed down to this test code:

program test
  implicit none
contains
  subroutine thing()
    character(len=f)::fname
  end subroutine thing
end program test


Note attempted declaration of character with unset variable, inheriting
"implicit none" from main.

Reply via email to