Fix tree-ssa/attr-hotcold-2.c failures now that the test runs.
authorWilco Dijkstra <wdijkstr@arm.com>
Tue, 21 Jun 2016 16:31:09 +0000 (16:31 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Tue, 21 Jun 2016 16:31:09 +0000 (16:31 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c

index 20951495bbc7e70209e0c57d85862517db80ea19..7f2df1f8499989ed21a5e72805d48126d1992632 100644 (file)
@@ -1,3 +1,8 @@
+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.
index e2e81434febd707c36e5ce0a2687a4bdc568b0e5..13d2916c47b9f0b358fe455088b6e17e3a6ad60f 100644 (file)
@@ -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" } } */