Fix timevar format and fix tests (PR testsuite/84597).
commit4830cfc0a0cffb1c6f3ab9ec08b9b43681e7868c
authorMartin Liska <mliska@suse.cz>
Wed, 28 Feb 2018 13:45:59 +0000 (28 14:45 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 28 Feb 2018 13:45:59 +0000 (28 13:45 +0000)
tree8c0ed49dd4f9534da832f51ce8b959071fe4be19
parent095d8d4b238567c9b884714f673b7e1d0dae3f1e
Fix timevar format and fix tests (PR testsuite/84597).

2018-02-28  Martin Liska  <mliska@suse.cz>

PR testsuite/84597
* timevar.c (timer::print): Fix format to properly print 100%
values.
2018-02-28  Martin Liska  <mliska@suse.cz>

PR testsuite/84597
* g++.dg/ext/timevar1.C: Fix pruned patterns.
* g++.dg/ext/timevar2.C: Likewise.

From-SVN: r258063
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/timevar1.C
gcc/testsuite/g++.dg/ext/timevar2.C
gcc/timevar.c