re PR testsuite/49288 (FAIL: g++.dg/debug/dwarf2/cdtor-1.C)
authorJakub Jelinek <jakub@redhat.com>
Mon, 6 Jun 2011 17:46:47 +0000 (19:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 6 Jun 2011 17:46:47 +0000 (19:46 +0200)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C

index 4eacaf2522e1115d30c3898d8b8d7aacf3f0ce36..fdfc9a9ed2ef13e8672bcecf193fb3f5f0b603b3 100644 (file)
@@ -1,5 +1,9 @@
 2011-06-06  Jakub Jelinek  <jakub@redhat.com>
 
+       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.
 
index 6d39e54ae08aa6b5a15c63dfa6ec60a675397fa1..e3bddab0e99042069453ee18857fb56c14b6fc68 100644 (file)
@@ -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 } }