This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jan 2011 11:54:20 +0000
- Subject: [Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition
- Auto-submitted: auto-generated
- References: <bug-44641-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #23 from Rainer Orth <ro at gcc dot gnu.org> 2011-01-21 11:53:44 UTC ---
g++.dg/debug/dwarf2/lineno-simple1.C also FAILs on IRIX 6.5, as does
g++.dg/debug/dwarf2/pr46527.C for what seems to be the same reason:
FAIL: g++.dg/debug/dwarf2/lineno-simple1.C scan-assembler
main:[^\\\\t]*(\\\\t.(fnstart|frame|mask|file)[^\\\\t]*)*\\\\t[^:]+:12\\\\n
The code around main looks like this:
#
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/debug/dwarf2/lineno-
simple1.C:12
.loc 1 12 0
.set nomips16
.ent main
.type main, @function
main:
.frame $fp,16,$31 # vars= 0, regs= 1/0, args= 0, gp= 0
.mask 0x40000000,-8
.fmask 0x00000000,0
I'm attaching the complete assembler output.