debug/3352: extern/inline combination in try/catch causes wrong lineinfo for all symbols in file
dberlin@sources.redhat.com
dberlin@sources.redhat.com
Tue Dec 18 14:33:00 GMT 2001
Synopsis: extern/inline combination in try/catch causes wrong lineinfo for all symbols in file
Responsible-Changed-From-To: unassigned->dberlin
Responsible-Changed-By: dberlin
Responsible-Changed-When: Tue Dec 18 14:23:29 2001
Responsible-Changed-Why:
Me
State-Changed-From-To: open->closed
State-Changed-By: dberlin
State-Changed-When: Tue Dec 18 14:23:29 2001
State-Changed-Why:
This is an assembler/linker bug (somewhere in bfd's stabs handling, in other words).
if you look at the output of gcc, it's identifying the correct lines.
I.e. we have
.stabs "main:F(0,1)",36,0,16,main
etc
However, the object file incorrectly has:
U _Unwind_Resume /home/dberlin/a.cc:11
00000000 W _Z7inlinedv /home/dberlin/a.cc:11
U _Z8externalv /home/dberlin/a.cc:11
00000000 V _ZTI9exception /home/dberlin/a.cc:11
00000000 V _ZTS9exception /home/dberlin/a.cc:11
U _ZTVN10__cxxabiv117__class_type_infoE /home/dberlin/a.cc:11
U __cxa_begin_catch /home/dberlin/a.cc:11
U __cxa_end_catch /home/dberlin/a.cc:11
U __gxx_personality_v0 /home/dberlin/a.cc:11
00000000 T main /home/dberlin/a.cc:11
So the problem isn't gcc, it's the assembler/bfd
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3352
More information about the Gcc-bugs
mailing list