Dear team, Just a gentle ping on this patch. Could someone please take a look when time permits?
Please let me know if there are any comments or if any further changes are required. Thanks, Naropanth Srikar Rao On Fri, Sep 25, 2026 at 2:52 PM Naropanth Srikar Rao < [email protected]> wrote: > From: nsrikarrao <[email protected]> > > AIX and certain target assemblers output text strings using .byte or > .string directives instead of .ascii. Update the scan-assembler > regex to accept alternative string pseudo-ops. > > gcc/testsuite/ChangeLog: > > * g++.dg/debug/dwarf2/template-func-params-7.C: Accept alternative > string pseudo-ops in scan-assembler-times. > --- > gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C > b/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C > index 4e95c238bcd..bd18640e2bc 100644 > --- a/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C > +++ b/gcc/testsuite/g++.dg/debug/dwarf2/template-func-params-7.C > @@ -22,10 +22,10 @@ > // { dg-final { scan-assembler-times "DIE \\(0x\[^\n\]*\\) > DW_TAG_GNU_formal_parameter_pack" 3 } } > // These 3 function template instantiations has a total of 3 template > // parameters named T. > -// { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t > \]+\[^\n\]*DW_AT_name" 3 } } > +// { dg-final { scan-assembler-times "\.(ascii|byte|string) \"T.0\"\[\t > \]+\[^\n\]*DW_AT_name" 3 } } > // And the packs also have names. > -// { dg-final { scan-assembler-times "\.ascii \"PTs.0\"\[\t > \]+\[^\n\]*DW_AT_name" 3 } } > -// { dg-final { scan-assembler-times "\.ascii \"args.0\"\[\t > \]+\[^\n\]*DW_AT_name" 3 } } > +// { dg-final { scan-assembler-times "\.(ascii|byte|string) \"PTs.0\"\[\t > \]+\[^\n\]*DW_AT_name" 3 } } > +// { dg-final { scan-assembler-times "\.(ascii|byte|string) > \"args.0\"\[\t \]+\[^\n\]*DW_AT_name" 3 } } > > > void > -- > 2.51.2 > >
