public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix g++.dg/debug/dwarf2/nested-2.C on PA
@ 2010-12-09 15:34 John David Anglin
  2010-12-10 10:15 ` IainS
  0 siblings, 1 reply; 2+ messages in thread
From: John David Anglin @ 2010-12-09 15:34 UTC (permalink / raw)
  To: gcc-patches

PA used ';' for assembler comments.  Tested on hppa-unknown-linux-gnu
and hppa64-hp-hpux11.11.  Committed to trunk.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2010-12-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR testsuite/45068
	* g++.dg/debug/dwarf2/nested-2.C: Also match comments starting with ';'.

Index: g++.dg/debug/dwarf2/nested-2.C
===================================================================
--- g++.dg/debug/dwarf2/nested-2.C	(revision 167323)
+++ g++.dg/debug/dwarf2/nested-2.C	(working copy)
@@ -32,6 +32,6 @@
 
 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\]*" } }
 
  */

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [committed] Fix g++.dg/debug/dwarf2/nested-2.C on PA
  2010-12-09 15:34 [committed] Fix g++.dg/debug/dwarf2/nested-2.C on PA John David Anglin
@ 2010-12-10 10:15 ` IainS
  0 siblings, 0 replies; 2+ messages in thread
From: IainS @ 2010-12-10 10:15 UTC (permalink / raw)
  To: John David Anglin; +Cc: GCC Patches, Jack Howarth, Dominique Dhumieres


On 9 Dec 2010, at 15:19, John David Anglin wrote:

> PA used ';' for assembler comments.

so does powerpc*-darwin  - also fixed by your commit - thanks :-)

Iain


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-10  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 15:34 [committed] Fix g++.dg/debug/dwarf2/nested-2.C on PA John David Anglin
2010-12-10 10:15 ` IainS

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).