improve FSM jump thread dump
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2015 17:25:51 +0000 (17:25 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2015 17:25:51 +0000 (17:25 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221021 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6a1c7b2..2dff1fe 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 7a41ab2..7a159bb 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);
 }