diff options
author | Dehao Chen <dehao@google.com> | 2012-05-09 07:10:45 +0000 |
---|---|---|
committer | Dehao Chen <dehao@gcc.gnu.org> | 2012-05-09 07:10:45 +0000 |
commit | 99b113f9789e6fd7aa0f7fe1cc7cccc22d7d2fc1 (patch) | |
tree | 0a2f8163e3c7cf2990cd62e6491aab158640cc42 /gcc/testsuite/gcc.dg/predict-1.c | |
parent | 0d6bf48c3ea3b48f462be944e46ced4bf3f08884 (diff) | |
download | gcc-99b113f9789e6fd7aa0f7fe1cc7cccc22d7d2fc1.zip gcc-99b113f9789e6fd7aa0f7fe1cc7cccc22d7d2fc1.tar.gz gcc-99b113f9789e6fd7aa0f7fe1cc7cccc22d7d2fc1.tar.bz2 |
predict-1.c: Remove the replicated text in this test.
gcc/testsuite
* gcc.dg/predict-1.c: Remove the replicated text in this test.
* gcc.dg/predict-2.c: Likewise.
* gcc.dg/predict-3.c: Likewise.
* gcc.dg/predict-4.c: Likewise.
* gcc.dg/predict-5.c: Likewise.
* gcc.dg/predict-6.c: Likewise.
From-SVN: r187315
Diffstat (limited to 'gcc/testsuite/gcc.dg/predict-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/predict-1.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/gcc.dg/predict-1.c b/gcc/testsuite/gcc.dg/predict-1.c index e7f4618..5c9a5a9 100644 --- a/gcc/testsuite/gcc.dg/predict-1.c +++ b/gcc/testsuite/gcc.dg/predict-1.c @@ -25,30 +25,3 @@ void foo (int bound) /* { dg-final { scan-tree-dump-times "loop iv compare heuristics: 0.0%" 5 "profile_estimate"} } */ /* { dg-final { cleanup-tree-dump "profile_estimate" } } */ -/* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-profile_estimate" } */ - -extern int global; - -int bar(int); - -void foo (int bound) -{ - int i, ret = 0; - for (i = 0; i < bound; i++) - { - if (i > bound) - global += bar (i); - if (i >= bound + 2) - global += bar (i); - if (i > bound - 2) - global += bar (i); - if (i + 2 > bound) - global += bar (i); - if (i == 10) - global += bar (i); - } -} - -/* { dg-final { scan-tree-dump-times "loop iv compare heuristics: 0.0%" 5 "profile_estimate"} } */ -/* { dg-final { cleanup-tree-dump "profile_estimate" } } */ |