diff options
author | Sebastian Pop <s.pop@samsung.com> | 2015-02-26 17:25:51 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2015-02-26 17:25:51 +0000 |
commit | a99c3d70e1bf26932b7e0b76965ad354fba9ee30 (patch) | |
tree | 47010de25c46a80f23433363e5ff70dc0a937753 | |
parent | a5ddeace685354b0fe011cacc6705407c3e3e2df (diff) | |
download | gcc-a99c3d70e1bf26932b7e0b76965ad354fba9ee30.zip gcc-a99c3d70e1bf26932b7e0b76965ad354fba9ee30.tar.gz gcc-a99c3d70e1bf26932b7e0b76965ad354fba9ee30.tar.bz2 |
improve FSM jump thread dump
From-SVN: r221021
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6a1c7b2..2dff1fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-26 Sebastian Pop <s.pop@samsung.com> + + * tree-ssa-threadupdate.c (dump_jump_thread_path): Print all edges + of an EDGE_FSM_THREAD. + 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * config/rs6000/htm.md (tcheck): Fix assembly encoding. diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index 7a41ab2..7a159bb 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<jump_thread_edge *> 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); } |