re PR testsuite/48238 (FAIL: gcc.dg/debug/dwarf2/pr47939-0.c scan-assembler on *...
authorDominique d'Humieres <dominiq@lps.ens.fr>
Mon, 28 Mar 2011 16:39:35 +0000 (18:39 +0200)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 28 Mar 2011 16:39:35 +0000 (16:39 +0000)
2011-03-26  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR testsuite/48238
* gcc.dg/debug/dwarf2/pr47939-1.c: Generalize scan-assembler regex.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.

From-SVN: r171615

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c

index 4445d51694e347405e6b3617c5f8419e48f7e12e..02e048f0c88b0ee66e6ad445d38ef1c40bde16f6 100644 (file)
@@ -1,3 +1,11 @@
+2011-03-28  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR testsuite/48238
+       * gcc.dg/debug/dwarf2/pr47939-1.c: Generalize scan-assembler regex.
+       * gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
+       * gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
+       * gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.
+
 2011-03-28  Jason Merrill  <jason@redhat.com>
 
        * g++.dg/cpp0x/initlist-array2.C: New.
index 7854fdf73bb5b07138d8bf23a7966ed1785fca26..2e4c3cda86cd3e38a9689d9d1e25ece09ccf72fa 100644 (file)
@@ -4,5 +4,5 @@
 typedef struct _Harry { int dummy; } Harry_t;
 Harry_t harry;
 
-/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*DW_AT_name: \"Harry_t\"" } } */
+/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*(DW_AT_name: \"Harry_t\"|\"Harry_t..\"\[^\\r\\n\]*DW_AT_name)" } } */
 /* { dg-final { cleanup-saved-temps } } */
index 8b623aef9ff8f0026840dcf038971bb702dc1583..13856d7aa0d179296cd2b783371c98eb304d8ba5 100644 (file)
@@ -4,5 +4,5 @@
 typedef const struct _Harry { int dummy; } Harry_t;
 Harry_t harry;
 
-/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*DW_AT_name: \"Harry_t\"" } } */
+/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*(DW_AT_name: \"Harry_t\"|\"Harry_t..\"\[^\\r\\n\]*DW_AT_name)" } } */
 /* { dg-final { cleanup-saved-temps } } */
index 374e6cc9077e33120a1008ca729ab3e5cedac1a5..f1e463e45dc0e014512e403a43ee6e726d4c2d23 100644 (file)
@@ -4,5 +4,5 @@
 typedef struct _Harry { int dummy; } Harry_t;
 const Harry_t harry[5];
 
-/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*DW_AT_name: \"Harry_t\"" } } */
+/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*(DW_AT_name: \"Harry_t\"|\"Harry_t..\"\[^\\r\\n\]*DW_AT_name)" } } */
 /* { dg-final { cleanup-saved-temps } } */
index 57db399595c937c1b7cd6e11e026c052e5a5c65f..cf0a2af6ced0123120e4d257a4a52f0cb39374e9 100644 (file)
@@ -4,5 +4,5 @@
 typedef const struct _Harry { int dummy; } Harry_t;
 Harry_t harry[10];
 
-/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*DW_AT_name: \"Harry_t\"" } } */
+/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*(DW_AT_name: \"Harry_t\"|\"Harry_t..\"\[^\\r\\n\]*DW_AT_name)" } } */
 /* { dg-final { cleanup-saved-temps } } */