* tree-ssa-threadedge.c (thread_through_normal_block): New argument VISITED.
commit4bc0f16ebd21b15d624ebbf8efa88c9c2f1df367
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Oct 2013 15:25:09 +0000 (21 15:25 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Oct 2013 15:25:09 +0000 (21 15:25 +0000)
tree27dc71626562b27de9139558e8f1fc715449171e
parentcc0f431c6778073712ece5d8a0bf6d3684046f1a
   * tree-ssa-threadedge.c (thread_through_normal_block): New argument VISITED.
        Remove VISISTED as a local variable.  When we have a threadable jump, verify
        the destination of the jump has not been visised.
        (thread_across_edge): Allocate VISITED bitmap once at function scope and
        use it throughout.  Make sure to set appropriate bits in VISITED for E (start
        of jump thread path).

        * tree-ssa-threadupdate.c (mark_threaded_blocks): Reject threading through
        a joiner if any edge on the path has a recorded jump thread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203895 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c