OSDN Git Service

PR testsuite/40858
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2009 17:29:17 +0000 (17:29 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Aug 2009 17:29:17 +0000 (17:29 +0000)
* g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with
.ascii.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150375 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/typedef1.C

index ad74f37..26560b5 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR testsuite/40858
+       * g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with
+       .ascii.
+
 2009-08-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libfortran/40853
index f325ac5..b3a0f93 100644 (file)
@@ -3,9 +3,9 @@
 // { dg-options "-g -dA" }
 // { dg-do compile }
 // { dg-final { scan-assembler-times "DW_TAG_structure_type" 2 } }
-// { dg-final { scan-assembler-times "DW_AT_name: \"foo<1u>\"" 1 } }
+// { dg-final { scan-assembler-times "DW_AT_name: \"foo<1u>\"|\"foo<1u>..\".*DW_AT_name" 1 } }
 // { dg-final { scan-assembler-times "DW_TAG_enumeration_type" 2 } }
-// { dg-final { scan-assembler-times "DW_AT_name: \"typedef foo<1u>::type type\"" 1 } }
+// { dg-final { scan-assembler-times "DW_AT_name: \"typedef foo<1u>::type type\"|\"typedef foo<1u>::type type..\".*DW_AT_name" 1 } }
 // { dg-final { scan-assembler-times "DIE (.*) DW_TAG_enumeration_type" 2 } }
 // { dg-final { scan-assembler-times "\"e0..\".*DW_AT_name" 1 } }
 // { dg-final { scan-assembler-times "\"e1..\".*DW_AT_name" 1 } }