http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55482
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|sanitizer |fortran
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-10
18:58:28 UTC ---
Can be reproduced also without -fsanitize=address, under valgrind, thus either
FE bug or testsuite bug.
BTW, the debug info for the classes looks wrong, break 25 (i.e. on the
a%i = b%i
line) plus ptype a
yields:
(gdb) ptype a
type = Type __class_realloc_Base_type
PTR TO -> ( Type base_type
integer(kind=4) :: i
End Type base_type :: _data)
PTR TO -> ( Type __vtype_realloc_Base_type
integer(kind=4) :: _hash
integer(kind=4) :: _size
PTR TO -> ( Type __vtype_realloc_Base_type
integer(kind=4) :: _hash
integer(kind=4) :: _size
PTR TO -> ( Type __vtype_realloc_Base_type
integer(kind=4) :: _hash
integer(kind=4) :: _size
PTR TO -> ( Type __vtype_realloc_Base_type
integer(kind=4) :: _hash
integer(kind=4) :: _size
PTR TO -> ( Type __vtype_realloc_Base_type
etc. forever.