re PR testsuite/49323 (FAIL: g++.dg/debug/dwarf2/integer-typedef.C scan-assembler...
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Jun 2011 17:36:12 +0000 (19:36 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 8 Jun 2011 17:36:12 +0000 (19:36 +0200)
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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/integer-typedef.C

index e14efafc187000411c5ae0bfdd9feddd06c732ef..ebdb7ebe5dec00bd561e48a568bfe0d36b155f3b 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2011-06-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        PR middle-end/21953
index 42b3c997f38bd77a60f0bdaf0120fe4c95bbe41f..3379b71583d52fb7a2252bb3c5bf282818c7a21d 100644 (file)
@@ -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 } }