From: Jakub Jelinek Date: Mon, 6 Jun 2011 17:46:47 +0000 (+0200) Subject: re PR testsuite/49288 (FAIL: g++.dg/debug/dwarf2/cdtor-1.C) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9b41b6c80b0d54eacd9a0101e1f230e0faa5554;p=gcc.git re PR testsuite/49288 (FAIL: g++.dg/debug/dwarf2/cdtor-1.C) PR testsuite/49288 * g++.dg/debug/dwarf2/cdtor-1.C: Add -fno-merge-debug-strings to dg-options, match also DW_AT_linkage_name. From-SVN: r174716 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4eacaf2522e..fdfc9a9ed2e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2011-06-06 Jakub Jelinek + PR testsuite/49288 + * g++.dg/debug/dwarf2/cdtor-1.C: Add -fno-merge-debug-strings + to dg-options, match also DW_AT_linkage_name. + PR debug/49294 * gcc.dg/debug/pr49294.c: New test. diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C index 6d39e54ae08..e3bddab0e99 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C @@ -1,5 +1,5 @@ // origin PR debug/49047 -// { dg-options "-g -dA" } +// { dg-options "-g -dA -fno-merge-debug-strings" } // { dg-do compile } struct K @@ -11,7 +11,7 @@ struct K int main() { - K k; + K k; } -// { dg-final {scan-assembler-times "\[^\n\r\]*DW_AT_MIPS_linkage_name:" 2 } } +// { dg-final {scan-assembler-times " DW_AT_\[MIPS_\]*linkage_name" 2 } }