]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-threadedge.c (thread_through_normal_block): New argument VISITED.
authorJeff Law <law@redhat.com>
Mon, 21 Oct 2013 15:25:09 +0000 (09:25 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Oct 2013 15:25:09 +0000 (09:25 -0600)
commitb5c4ff7888a8fc17c0ce047f539548dacf2c8f8d
tree27dc71626562b27de9139558e8f1fc715449171e
parentce0770fc7bb93ca051c0ccacbd98031f276a2b91
tree-ssa-threadedge.c (thread_through_normal_block): New argument VISITED.

       * 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.

From-SVN: r203895
gcc/ChangeLog
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c