On Sep 4, 2016, at 10:23 AM, Dominique d'Humières <domi...@lps.ens.fr> wrote: > > The same should apply to g++.dg/debug/dwarf2/template-params-12g.C: > > --- ../_clean/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C > 2016-08-12 09:59:34.000000000 +0200 > +++ gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C 2016-08-30 > 11:36:48.000000000 +0200 > @@ -1,4 +1,4 @@ > -// { dg-options "-gdwarf-2 -dA" } > +// { dg-options "-gdwarf-2 -gno-strict-dwarf -dA" } > // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) > DW_TAG_template_value_param" 1 } } > // { dg-final { scan-assembler-times "DIE \\(\[^\n\]*\\) > DW_TAG_template_value_param\[^\n\]*\n\[^\n\]* DW_AT_name\n\[^\n\]* > DW_AT_type\n\[^\n\]*\[^\n\]* DW_AT_location\n\[^\n\]* > DW_OP_addr\n\[^\n\]*_ZN1B1gEv\[^\n\]*\n\[^\n\]* DW_OP_stack_value\n\[^\n\]* > DW_OP_piece\n\[^\n\]*\n\[^\n\]* DW_OP_lit0\n\[^\n\]* > DW_OP_stack_value\n\[^\n\]* DW_OP_piece" 1 } } > #include "template-params-12.H » > > Unless someone objects, I’ll commit the patch in the coming days.
Ok. > I also noticed that the same should apply to > g++.dg/debug/dwarf2/imported-decl-2.C (pr57519). Is it OK to commit the > following patch to trunk and the gcc-5 and 6 branches? Ok.