Committed as obvious.
commit df0a9fa2a7975b945b72b90bbcc8862d87fe2bad
Author: Torvald Riegel <[email protected]>
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.
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" } } */