]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
improve FSM jump thread dump
authorSebastian Pop <s.pop@samsung.com>
Thu, 26 Feb 2015 17:25:51 +0000 (17:25 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 26 Feb 2015 17:25:51 +0000 (17:25 +0000)
From-SVN: r221021

gcc/ChangeLog
gcc/tree-ssa-threadupdate.c

index 6a1c7b25b8f709daadde280c339bbe9fd08c98a0..2dff1fe75fcf2b2c6c358563414a100be0dce808 100644 (file)
@@ -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.
index 7a41ab247b649c6b135355635ad10e8c7c73ae16..7a159bbb671635d569ad620547aeb4bcdd911e54 100644 (file)
@@ -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);
 }