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

            Bug ID: 66493
           Summary: ICE on alternate return argument for typebound
                    procedure
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

This code with an alternate return argument (*) seems to be improper :
   module p
      type t
      contains
         procedure :: s
      end type
   contains
      subroutine s(*)
      end
   end module

and yields (with gfortran 5.1.1 on SUSE Linux 13.2, 64 bit) :
f951: internal compiler error: in resolve_typebound_procedure, at
fortran/resolve.c:12210

Reply via email to