[Bug fortran/44869] [OOP] Missing TARGET check - and wrong code or accepts-invalid?
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jul 11 08:26:00 GMT 2010
------- Comment #7 from janus at gcc dot gnu dot org 2010-07-11 08:26 -------
(In reply to comment #6)
> The runtime segfault persist.
It seems this segfault comes from the call to 'self%assert' in 'test_a'.
The dump shows
self->$vptr->assert->assert_int ((struct class$test_case *) self, &C.1978,
&C.1979, &C.1980, &"generic_tbp.f90"[1]{lb: 1 sz: 1}, &"purposely
failed"[1]{lb: 1 sz: 1}, 15, 16);
which looks ok.
The problem seems to be that the generic TBPs in the vtab are not initialized
properly. The dump contains the correct initialization code for the specific
TBPs, but the init for the generics seems to be missing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44869
More information about the Gcc-bugs
mailing list