aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2011-11-14 21:06:15 +0000
committerTorvald Riegel <torvald@gcc.gnu.org>2011-11-14 21:06:15 +0000
commit2f5623b20c1e333cb58f928dfcde0079dfb264b3 (patch)
treeb211a4a91056a40e982e54e5c8715f4a0caa161c
parentde3c89d5baf1f0ac14396da651b2bb4bb1bfc068 (diff)
downloadgcc-2f5623b20c1e333cb58f928dfcde0079dfb264b3.zip
gcc-2f5623b20c1e333cb58f928dfcde0079dfb264b3.tar.gz
gcc-2f5623b20c1e333cb58f928dfcde0079dfb264b3.tar.bz2
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. From-SVN: r181366
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/tm/template-1.C3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f0acdf7..bafb8e5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-14 Torvald Riegel <triegel@redhat.com>
+
+ * g++.dg/tm/template-1.C: Add cleanup-tree-dump. Fix typo in comment.
+
2011-11-14 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/avx-recip-vec.c: New test.
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" } } */