[Bug fortran/86242] [6/7/8/9 Regression] [OOP] ICE for derived type with allocatable class component

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 29 12:33:00 GMT 2018


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

--- Comment #2 from janus at gcc dot gnu.org ---
Slightly reduced test case:

module test

   implicit none 

   type :: output
   end type

   type :: tester
      integer,  allocatable :: wrap
      procedure(proc1), pointer, nopass :: ptr
   end type

   abstract interface
      function proc1() result(uc)
         import :: output
         class(output), allocatable :: uc
      end function
   end interface

end


More information about the Gcc-bugs mailing list