This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66366] ICE on invalid with non-allocatable CLASS variable [OOP]
- From: "abensonca at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Jun 2015 22:54:44 +0000
- Subject: [Bug fortran/66366] ICE on invalid with non-allocatable CLASS variable [OOP]
- Auto-submitted: auto-generated
- References: <bug-66366-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66366
--- Comment #2 from Andrew Benson <abensonca at gmail dot com> ---
This reduced test case produces an ICE with similar backtrace, although it
doesn't share the problem of having a non-allocatable/pointer CLASS variable
(as far as I can tell):
module sps
type :: spsf
end type spsf
type :: h5
contains
procedure :: c => hC
end type h5
contains
subroutine frf()
type(h5) :: spsf
call spsf%c()
end subroutine frf
subroutine hC(s)
class(h5), intent(inout) :: s
end subroutine hC
end module sps