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: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Dec 2012 15:09:26 +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
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.