This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55482] gfortran.dg/class_array_7.f03 execution failures with -fsanitize=address
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 18:58:28 +0000
- Subject: [Bug fortran/55482] gfortran.dg/class_array_7.f03 execution failures with -fsanitize=address
- Auto-submitted: auto-generated
- References: <bug-55482-4@http.gcc.gnu.org/bugzilla/>
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.