From: Jakub Jelinek Date: Wed, 8 Jun 2011 17:36:12 +0000 (+0200) Subject: re PR testsuite/49323 (FAIL: g++.dg/debug/dwarf2/integer-typedef.C scan-assembler... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f419ed5805108254a0fe8176efa7ee55d706fa49;p=gcc.git re PR testsuite/49323 (FAIL: g++.dg/debug/dwarf2/integer-typedef.C scan-assembler-times *) PR testsuite/49323 * g++.dg/debug/dwarf2/integer-typedef.C: Add -fno-merge-debug-strings to dg-options, match also DW_AT_linkage_name. From-SVN: r174813 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e14efafc187..ebdb7ebe5de 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-06-08 Jakub Jelinek + + PR testsuite/49323 + * g++.dg/debug/dwarf2/integer-typedef.C: Add -fno-merge-debug-strings + to dg-options, match also DW_AT_linkage_name. + 2011-06-08 Rainer Orth PR middle-end/21953 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C b/gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C index 42b3c997f38..3379b71583d 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C @@ -1,5 +1,5 @@ // Origin: PR debug/49130 -// { dg-options "-g -dA" } +// { dg-options "-g -dA -fno-merge-debug-strings" } typedef long unsigned int size_t; static const size_t foo = 2048; @@ -24,5 +24,5 @@ main() s1.f(10); } -// { dg-final {scan-assembler-times "\[^\n\r\]*DW_AT_name: \"S<2048ul>\"" 1 } } -// { dg-final {scan-assembler-times "\[^\n\r\]*DW_AT_MIPS_linkage_name: \"_ZN1SILm2048EE1fEm\"" 1 } } +// { dg-final {scan-assembler-times "\"S<2048ul>.0\"\[^\n\r\]* DW_AT_name" 1 } } +// { dg-final {scan-assembler-times "\"_ZN1SILm2048EE1fEm.0\"\[^\n\r\]* DW_AT_\[MIPS_\]*linkage_name" 1 } }