summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-21 16:31:09 +0000
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-21 16:31:09 +0000
commit949bfed4911d48c4fb6b31433f9ea84a5f0af486 (patch)
tree160a63841514a084b3bc7e948f11b7cbeaa25305
parent7b3e5dc9fe27c574202fcf67ca545b2b1a3b974e (diff)
downloadgcc-949bfed4911d48c4fb6b31433f9ea84a5f0af486.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237652 138bc75d-0d04-0410-961f-82ee72b054a4
-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 20951495bbc..7f2df1f8499 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 e2e81434feb..13d2916c47b 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" } } */