From a99c3d70e1bf26932b7e0b76965ad354fba9ee30 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 26 Feb 2015 17:25:51 +0000 Subject: [PATCH] improve FSM jump thread dump From-SVN: r221021 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-threadupdate.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a1c7b25b8f..2dff1fe75fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-26 Sebastian Pop + + * tree-ssa-threadupdate.c (dump_jump_thread_path): Print all edges + of an EDGE_FSM_THREAD. + 2015-02-25 Adhemerval Zanella * config/rs6000/htm.md (tcheck): Fix assembly encoding. diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 7a41ab247b6..7a159bbb671 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -197,6 +197,9 @@ dump_jump_thread_path (FILE *dump_file, vec path, if (path[i]->type == EDGE_NO_COPY_SRC_BLOCK) fprintf (dump_file, " (%d, %d) nocopy;", path[i]->e->src->index, path[i]->e->dest->index); + if (path[0]->type == EDGE_FSM_THREAD) + fprintf (dump_file, " (%d, %d) ", + path[i]->e->src->index, path[i]->e->dest->index); } fputc ('\n', dump_file); } -- 2.30.2