This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/55482] gfortran.dg/class_array_7.f03 execution failures with -fsanitize=address


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]