From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22065 invoked by alias); 21 Jan 2011 11:54:37 -0000 Received: (qmail 22045 invoked by uid 22791); 21 Jan 2011 11:54:35 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Jan 2011 11:54:21 +0000 From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jyasskin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 21 Jan 2011 12:36:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg02162.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641 Rainer Orth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #23 from Rainer Orth 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.