From: Wilco Dijkstra Date: Tue, 21 Jun 2016 16:31:09 +0000 (+0000) Subject: Fix tree-ssa/attr-hotcold-2.c failures now that the test runs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64ac50e29b7551e7ddde5f59ff1a7d7a95376475;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20951495bbc..7f2df1f8499 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-06-21 Wilco Dijkstra + + * gcc.dg/tree-ssa/attr-hotcold-2.c (scan-tree-dump-times): + Set to 3 so test passes. + 2016-06-21 Wilco Dijkstra * gfortran.dg/vect/vect-8.f90 (vectorized loops): Set to 21. 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" } } */