From 6ac7322b3ece979c1adf381f7c6c7e421cf9922f Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Wed, 7 Sep 2016 00:18:54 +0200 Subject: [PATCH] re PR debug/77389 (FAIL: g++.dg/debug/dwarf2/template-params-12f.C -std=gnu++11 scan-assembler-times DIE \\\\([^\\n]*\\\\) DW_TAG_template_value_param ...) 2016-09-07 Dominique d'Humieres PR debug/77389 * g++.dg/debug/dwarf2/template-params-12g.C: Pass -gno-strict-dwarf in dg-options. PR debug/57519 * g++.dg/debug/dwarf2/imported-decl-2.C: Likewise. From-SVN: r240015 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 607742084a8..ff8bc007d96 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2016-09-07 Dominique d'Humieres + + PR debug/77389 + * g++.dg/debug/dwarf2/template-params-12g.C: Pass -gno-strict-dwarf + in dg-options. + + PR debug/57519 + * g++.dg/debug/dwarf2/imported-decl-2.C: Likewise. + 2016-09-06 Jakub Jelinek PR target/69255 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C index 58f19bee324..22458c0cb45 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/imported-decl-2.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-gdwarf-2 -dA -O0 -fno-merge-debug-strings" } +// { dg-options "-gdwarf-2 -gno-strict-dwarf -dA -O0 -fno-merge-debug-strings" } class AAAA { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C index 813f71d1bc0..1d0960a2851 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12g.C @@ -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" -- 2.30.2