* Fix spurious g++.dg/debug/dwarf2/nested-2.C failure
@ 2010-11-07 17:58 Andreas Schwab
0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2010-11-07 17:58 UTC (permalink / raw)
To: gcc-patches
The g++.dg/debug/dwarf2/nested-2.C test spuriously fails on m68k because
it uses "|" to introduce comments. Tested on powerpc-linux and
m68k-linux, checked in as obvious.
Andreas.
2010-11-07 Andreas Schwab <schwab@linux-m68k.org>
* g++.dg/debug/dwarf2/nested-2.C: Adjust pattern to also match "|"
as comment character.
Index: gcc/testsuite/g++.dg/debug/dwarf2/nested-2.C
===================================================================
--- gcc/testsuite/g++.dg/debug/dwarf2/nested-2.C (revision 166417)
+++ gcc/testsuite/g++.dg/debug/dwarf2/nested-2.C (working copy)
@@ -32,6 +32,6 @@ We want to express that the DIE of S::T<
Hence the slightly odd regexp:
- { dg-final { scan-assembler "\[^\n\r\]*\\(DIE\[^\n\r\]*DW_TAG_structure_type\\)\[\n\r\]+\[^\n\r\]*\"S\\\\0\"\[ \t\]+\(@|#|!|//?\)\[ \t\]+DW_AT_name\[\n\r\]+\(.*\)?\\(DIE\[^\n\r\]*DW_TAG_structure_type\\)\[\n\r\]+\[^\n\r\]*\"T<int>\\\\0\"\[ \t\]+\(.*\)?\\(DIE\[^\n\r\]*DW_TAG_template_type_param\\)\[\n\r\]+\[^\n\r\]*\[\n\r\]+\[^\n\r\]*\[\n\r\]+\[^\n\r\]*\(@|#|!|//?\)\[ \t\]+end of children of DIE\[^\n\r\]*\[\n\r\]+\[^\n\r\]*end of children of DIE\[^\n\r\]*" } }
+ { dg-final { scan-assembler "\[^\n\r\]*\\(DIE\[^\n\r\]*DW_TAG_structure_type\\)\[\n\r\]+\[^\n\r\]*\"S\\\\0\"\[ \t\]+\(\[@|#!\]|//?\)\[ \t\]+DW_AT_name\[\n\r\]+\(.*\)?\\(DIE\[^\n\r\]*DW_TAG_structure_type\\)\[\n\r\]+\[^\n\r\]*\"T<int>\\\\0\"\[ \t\]+\(.*\)?\\(DIE\[^\n\r\]*DW_TAG_template_type_param\\)\[\n\r\]+\[^\n\r\]*\[\n\r\]+\[^\n\r\]*\[\n\r\]+\[^\n\r\]*\(\[@|#!\]|//?\)\[ \t\]+end of children of DIE\[^\n\r\]*\[\n\r\]+\[^\n\r\]*end of children of DIE\[^\n\r\]*" } }
*/
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-07 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 17:58 Fix spurious g++.dg/debug/dwarf2/nested-2.C failure Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).