diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2016-06-21 16:31:09 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco@gcc.gnu.org> | 2016-06-21 16:31:09 +0000 |
commit | 64ac50e29b7551e7ddde5f59ff1a7d7a95376475 (patch) | |
tree | 160a63841514a084b3bc7e948f11b7cbeaa25305 /gcc/testsuite/gcc.dg | |
parent | 2c40d56347f84df78a2cd54c4755189208bc21ab (diff) | |
download | gcc-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
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/attr-hotcold-2.c | 5 |
1 files changed, 2 insertions, 3 deletions
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" } } */ |