diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-30 09:49:44 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-30 09:49:44 +0000 |
commit | 3e7a76a61bc7ac680ab1cb68815b7384a690f744 (patch) | |
tree | 631a6b2b79008f59e70b0a5bd1d179a931a882cf /gcc/graph.c | |
parent | 5b64e274ea8c9aaedcebc1d6ad285a11e64ab086 (diff) | |
download | gcc-3e7a76a61bc7ac680ab1cb68815b7384a690f744.tar.gz |
2017-06-30 Richard Biener <rguenther@suse.de>
* graph.c (draw_cfg_node_succ_edges): Fix broken dot syntax.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index 2197a7e32af..d953fea0f56 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -136,13 +136,13 @@ draw_cfg_node_succ_edges (pretty_printer *pp, int funcdef_no, basic_block bb) pp_printf (pp, "\tfn_%d_basic_block_%d:s -> fn_%d_basic_block_%d:n " - "[style=%s,color=%s,weight=%d,constraint=%s];\n", + "[style=%s,color=%s,weight=%d,constraint=%s", funcdef_no, e->src->index, funcdef_no, e->dest->index, style, color, weight, (e->flags & (EDGE_FAKE | EDGE_DFS_BACK)) ? "false" : "true"); if (e->probability.initialized_p ()) - pp_printf (pp, ", label=\"[%i%%]\"", + pp_printf (pp, ",label=\"[%i%%]\"", e->probability.to_reg_br_prob_base () * 100 / REG_BR_PROB_BASE); pp_printf (pp, "];\n"); |