From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7767 invoked by alias); 21 Jul 2010 16:50:30 -0000 Received: (qmail 7022 invoked by uid 48); 21 Jul 2010 16:50:05 -0000 Date: Wed, 21 Jul 2010 16:50:00 -0000 Message-ID: <20100721165005.7021.qmail@sourceware.org> X-Bugzilla-Reason: CC References: 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 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" 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: 2010-07/txt/msg02236.txt.bz2 ------- Comment #7 from hjl dot tools at gmail dot com 2010-07-21 16:50 ------- (In reply to comment #6) > Is the problem a bad mangling or bad line numbers? In a built tree, could you > run: > $objdir/gcc/cc1plus -g -dA > $srcdir/gcc/testsuite/g++.dg/debug/dwarf2/pr44641.C -o pr44641.s > and send me or attach pr44641.s? > > Feel free to xfail this in the mean time, or if you send me your triple I'll do > it, so that it's not polluting your test results. > You can build a cross compiler for ia64-unknown-linux-gnu to see it for yourself. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641