This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47463] [OOP] ICE in gfc_add_component_ref
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 14:31:25 +0000
- Subject: [Bug fortran/47463] [OOP] ICE in gfc_add_component_ref
- Auto-submitted: auto-generated
- References: <bug-47463-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47463
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Severity|critical |normal
--- Comment #4 from janus at gcc dot gnu.org 2011-01-30 14:31:14 UTC ---
Slightly reduced/modified test case:
module hydro_state
type :: state_t
contains
procedure :: assign
generic :: assignment(=) => assign
end type
contains
subroutine assign (this, that)
class(state_t), intent(inout) :: this
class(state_t), intent(in) :: that
end subroutine
end module
use hydro_state
type :: flow_t
type(state_t) :: st
end type
class(flow_t),pointer :: this
type(state_t) :: st
this%st = st
end