aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/predict-1.c
diff options
context:
space:
mode:
authorMartin Liska <marxin@gcc.gnu.org>2018-08-03 07:23:47 +0000
committerMartin Liska <marxin@gcc.gnu.org>2018-08-03 07:23:47 +0000
commita77e3a39de3843a8c0a0d59635b2bdd07ee67812 (patch)
treea9ad611b62229b0e6906e5d62d429c1dddf020b3 /gcc/testsuite/gcc.dg/predict-1.c
parent561d011953965a425463900548c29187c2898179 (diff)
downloadgcc-a77e3a39de3843a8c0a0d59635b2bdd07ee67812.zip
gcc-a77e3a39de3843a8c0a0d59635b2bdd07ee67812.tar.gz
gcc-a77e3a39de3843a8c0a0d59635b2bdd07ee67812.tar.bz2
Print heuristics probability fraction part with 2 digits.
2018-08-03 Martin Liska <mliska@suse.cz> * predict.c (dump_prediction): Change to 2 digits in fraction part. 2018-08-03 Martin Liska <mliska@suse.cz> * gcc.dg/predict-1.c: Adjust scanned pattern to cover 2 digits. * gcc.dg/predict-13.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. * gcc.dg/predict-9.c:Likewise. * gfortran.dg/predict-1.f90:Likewise. From-SVN: r263286
Diffstat (limited to 'gcc/testsuite/gcc.dg/predict-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/predict-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/predict-1.c b/gcc/testsuite/gcc.dg/predict-1.c
index 4ba26e6..9e5605a 100644
--- a/gcc/testsuite/gcc.dg/predict-1.c
+++ b/gcc/testsuite/gcc.dg/predict-1.c
@@ -23,4 +23,4 @@ void foo (int bound)
}
}
-/* { dg-final { scan-tree-dump-times "guess loop iv compare heuristics of edge\[^:\]*: 36.0%" 4 "profile_estimate"} } */
+/* { dg-final { scan-tree-dump-times "guess loop iv compare heuristics of edge\[^:\]*: 36.00%" 4 "profile_estimate"} } */