This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/57562] [OOP] Internal compiler error due to extended derived type with PARAMETER attribute


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57562

--- Comment #4 from janus at gcc dot gnu.org ---
(In reply to janus from comment #3)
> Slightly reduced test case.

... is here:


  type :: Parent
    integer :: member = 0
  end type

  type, extends(Parent) :: Child
  end type

  type(Child), parameter :: object = Child(23)

  print *, object%member

end


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]