This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix integer-typedef.C testcase (PR testsuite/49323)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 19:37:56 +0200
- Subject: [committed] Fix integer-typedef.C testcase (PR testsuite/49323)
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
This testcase suffered from the same issues as cdtor-1.C testcase recently.
Fixed thusly, regtested on x86_64-linux and i686-linux, committed to trunk
as obvious.
2011-06-08 Jakub Jelinek <jakub@redhat.com>
PR testsuite/49323
* g++.dg/debug/dwarf2/integer-typedef.C: Add -fno-merge-debug-strings
to dg-options, match also DW_AT_linkage_name.
--- gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C.jj 2011-06-08 08:53:13.000000000 +0200
+++ gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C 2011-06-08 13:48:39.000000000 +0200
@@ -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 } }
Jakub