From ab8348325fede96edbd63fdc233173682c8496d5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 30 Aug 2016 08:44:43 +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 ...) PR debug/77389 * g++.dg/debug/dwarf2/template-params-12f.C: Pass -gno-strict-dwarf in dg-options. From-SVN: r239853 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/debug/dwarf2/template-params-12f.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9e56f8b1d9a..c62855c522d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-08-30 Jakub Jelinek + + PR debug/77389 + * g++.dg/debug/dwarf2/template-params-12f.C: Pass -gno-strict-dwarf + in dg-options. + 2016-08-29 Steven G. Kargl * gfortran.dg/pr77372.f90: Moved to ... diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12f.C b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12f.C index e2da8292991..6e4ce245758 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12f.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/template-params-12f.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\]*_ZN1S1fEv\[^\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