Patchwork trans-mem: trivial: add cleanup-tree-dump in testcase, fix typo in comment.

login
register
mail settings
Submitter Torvald Riegel
Date Nov. 14, 2011, 9:07 p.m.
Message ID <1321304874.22674.1193.camel@triegel.csb>
Download mbox | patch
Permalink /patch/125609/
State New
Headers show

Comments

Torvald Riegel - Nov. 14, 2011, 9:07 p.m.
Committed as obvious.
commit df0a9fa2a7975b945b72b90bbcc8862d87fe2bad
Author: Torvald Riegel <triegel@redhat.com>
Date:   Mon Nov 14 14:34:30 2011 +0100

    Trivial: add cleanup-tree-dump in testcase, fix typo in comment.
    
    	gcc/testsuite:
    	* g++.dg/tm/template-1.C: Add cleanup-tree-dump. Fix typo in comment.

Patch

diff --git a/gcc/testsuite/g++.dg/tm/template-1.C b/gcc/testsuite/g++.dg/tm/template-1.C
index b93828a..cb6bb38 100644
--- a/gcc/testsuite/g++.dg/tm/template-1.C
+++ b/gcc/testsuite/g++.dg/tm/template-1.C
@@ -30,6 +30,7 @@  int f1()
   return foo<TrueFalse>() + bar<TrueFalse>();
 }
 
-/* 4 transactions overall, two of the write to global:  */
+/* 4 transactions overall, two of them write to global:  */
 /* { dg-final { scan-tree-dump-times "ITM_RU4\\s*\\(&global" 4 "tmmark" } } */
 /* { dg-final { scan-tree-dump-times "ITM_WU4\\s*\\(&global" 2 "tmmark" } } */
+/* { dg-final { cleanup-tree-dump "tmmark" } } */