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

tromey at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 11 15:10:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55482

Tom Tromey <tromey at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu.org

--- Comment #4 from Tom Tromey <tromey at gcc dot gnu.org> 2012-12-11 15:09:26 UTC ---
(In reply to comment #3)

> BTW, the debug info for the classes looks wrong, break 25
[...]

The DWARF seems reasonable enough to me.  I think this is a gdb bug.
Basically, the Fortran type-printer always prints the target type
of a pointer type.  This causes infinite recursion.
I don't know Fortran well enough to say what the best fix would be.
If someone can tell me what it ought to do, I can implement it.



More information about the Gcc-bugs mailing list