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/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function


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

--- Comment #6 from janus at gcc dot gnu.org ---
Reduced test case for the ICE:

  print *, associated(return_pointer()) ! ICE
contains
  function return_pointer()
    class(*), pointer :: return_pointer(:)
  end function 
end

ICEs with 4.8, 4.9, trunk. Rejected by 4.7, because class(*) is not supported.


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