------- 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<int>\\\\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

Reply via email to