From: Richard Biener Date: Fri, 30 Jun 2017 09:49:44 +0000 (+0000) Subject: graph.c (draw_cfg_node_succ_edges): Fix broken dot syntax. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=273a94e0fa98687df97826fdaff46c29bdfa4d06;p=gcc.git graph.c (draw_cfg_node_succ_edges): Fix broken dot syntax. 2017-06-30 Richard Biener * graph.c (draw_cfg_node_succ_edges): Fix broken dot syntax. From-SVN: r249834 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5401bdab0f4..f4c435f70a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-06-30 Richard Biener + + * graph.c (draw_cfg_node_succ_edges): Fix broken dot syntax. + 2017-06-30 Martin Liska PR sanitizer/81021 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");