aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 2d7ee80..5c0c6d7 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -6405,6 +6405,9 @@ dump_edge_info (file, e, do_succ)
else
fprintf (file, " %d", side->index);
+ if (e->probability)
+ fprintf (file, " [%.1f%%] ", e->probability * 100.0 / REG_BR_PROB_BASE);
+
if (e->count)
{
fprintf (file, " count:");