Enhance dump_probability function.
authorMartin Liska <mliska@suse.cz>
Tue, 13 Jun 2017 08:59:28 +0000 (10:59 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 13 Jun 2017 08:59:28 +0000 (08:59 +0000)
commit9ab5a235c5503fad7f7bd2cb8240d802eebfb9ab
treee7d1f273e41a5e1a0e04de65ad25463ec9da9c12
parentda8b0b2b258bfc278508dd107daf20c484ade28f
Enhance dump_probability function.

2017-06-13  Martin Liska  <mliska@suse.cz>

* gimple-pretty-print.c (dump_probability): Add new argument.
(dump_edge_probability): Dump both probability and count.
(dump_gimple_label): Likewise.
(dump_gimple_bb_header): Likewise.
2017-06-13  Martin Liska  <mliska@suse.cz>

* gcc.dg/tree-ssa/builtin-sprintf-2.c: Adjust scanned pattern.
* gcc.dg/tree-ssa/dump-2.c: Likewise.
* gcc.dg/tree-ssa/vrp101.c: Likewise.

From-SVN: r249147
gcc/ChangeLog
gcc/gimple-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-2.c
gcc/testsuite/gcc.dg/tree-ssa/dump-2.c
gcc/testsuite/gcc.dg/tree-ssa/vrp101.c