From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28419 invoked by alias); 9 Aug 2010 00:35:19 -0000 Received: (qmail 28382 invoked by alias); 9 Aug 2010 00:35:08 -0000 Date: Mon, 09 Aug 2010 00:35:00 -0000 Message-ID: <20100809003508.28381.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: "dave at hiauly1 dot hia dot nrc dot ca" 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-08/txt/msg00627.txt.bz2 ------- Comment #18 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-09 00:35 ------- Subject: Re: Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition On Mon, 09 Aug 2010, danglin at gcc dot gnu dot org wrote: > FAIL: g++.dg/debug/dwarf2/nested-2.C scan-assembler > [^\n\r]*\\(DIE[^\n\r]*DW_TAG > _structure_type\\)[\n\r]+[^\n\r]*"S\\\\0"[ \t]+(#|//)[ > \t]+DW_AT_name[\n\r]+(.*) > ?\\(DIE[^\n\r]*DW_TAG_structure_type\\)[\n\r]+[^\n\r]*"T\\\\0"[ > \t]+(.*)?\\ > (DIE[^\n\r]*DW_TAG_template_type_param\\)[\n\r]+[^\n\r]*[\n\r]+[^\n\r]*[\n\r]+[^ > \n\r]*(#|//)[ \t]+end of children of DIE[^\n\r]*[\n\r]+[^\n\r]*end of children > o > f DIE[^\n\r]* Sorry, different issue. Attached .s. Probably, similar problems are present on hppa64-hp-hpux11.11 but bootstrap is currently broken. ------- Comment #19 from dave at hiauly1 dot hia dot nrc dot ca 2010-08-09 00:35 ------- Created an attachment (id=21440) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21440&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641