------- Comment #1 from dodji at gcc dot gnu dot org 2009-08-29 21:15 ------- Subject: Re: New: g++.dg/debug/dwarf2/namespace-1.C failed on Linux/ia64
Le 29/08/2009 22:57, hjl dot tools at gmail dot com a écrit : > On Linux/ia64, I got > > FAIL: g++.dg/debug/dwarf2/namespace-1.C scan-assembler-times .ascii "T.0"[ > > ]+# DW_AT_name 1 > > The assembly output has > > .ascii "T\0" // DW_AT_name > > There is no trailing '1'. I think the problem is more that there is a "//" before DW_AT_name, instead of a #. The 1 is the second argument to scan-assembler-times, and as such, is not part of the regular expression. In the file g++.dg/debug/dwarf2/namespace-1.C , If you replace the line: // { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+# DW_AT_name" 1 } } with: // { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+. DW_AT_name" 1 } } Does it fix the problem to you ? If yes, I'll commit the patch under the obvious rule. Sorry, I don't have an ia64 box at hand to test myself. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41187