aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2016-06-21 16:31:09 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2016-06-21 16:31:09 +0000
commit64ac50e29b7551e7ddde5f59ff1a7d7a95376475 (patch)
tree160a63841514a084b3bc7e948f11b7cbeaa25305
parent2c40d56347f84df78a2cd54c4755189208bc21ab (diff)
downloadgcc-64ac50e29b7551e7ddde5f59ff1a7d7a95376475.zip
gcc-64ac50e29b7551e7ddde5f59ff1a7d7a95376475.tar.gz
gcc-64ac50e29b7551e7ddde5f59ff1a7d7a95376475.tar.bz2
Fix tree-ssa/attr-hotcold-2.c failures now that the test runs.
GCC dumps the blocks 3 times so update count 3 and the test passes. gcc/testsuite/ * gcc.dg/tree-ssa/attr-hotcold-2.c (scan-tree-dump-times): Set to 3 so test passes. From-SVN: r237652
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2095149..7f2df1f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2016-06-21 Wilco Dijkstra <wdijkstr@arm.com>
+ * gcc.dg/tree-ssa/attr-hotcold-2.c (scan-tree-dump-times):
+ Set to 3 so test passes.
+
+2016-06-21 Wilco Dijkstra <wdijkstr@arm.com>
+
* gfortran.dg/vect/vect-8.f90 (vectorized loops): Set to 21.
2016-06-21 Ilya Verbin <ilya.verbin@intel.com>
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c b/gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c
index e2e8143..13d2916 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c
@@ -20,10 +20,9 @@ void f(int x, int y)
/* { dg-final { scan-tree-dump-times "hot label heuristics" 1 "profile_estimate" } } */
/* { dg-final { scan-tree-dump-times "cold label heuristics" 1 "profile_estimate" } } */
-/* { dg-final { scan-tree-dump-times "block 4, loop depth 0, count 0, freq \[1-4\]\[^0-9\]" 1 "profile_estimate" } } */
+/* { dg-final { scan-tree-dump-times "block 4, loop depth 0, count 0, freq \[1-4\]\[^0-9\]" 3 "profile_estimate" } } */
/* Note: we're attempting to match some number > 6000, i.e. > 60%.
The exact number ought to be tweekable without having to juggle
the testcase around too much. */
-/* { dg-final { scan-tree-dump-times "block 5, loop depth 0, count 0, freq \[6-9\]\[0-9\]\[0-9\]\[0-9\]" 1 "profile_estimate" } } */
-
+/* { dg-final { scan-tree-dump-times "block 5, loop depth 0, count 0, freq \[6-9\]\[0-9\]\[0-9\]\[0-9\]" 3 "profile_estimate" } } */