https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47679

--- Comment #26 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Sep 17 03:01:03 2015
New Revision: 227842

URL: https://gcc.gnu.org/viewcvs?rev=227842&root=gcc&view=rev
Log:
[PATCH] Pass in avail_expr_stack and setup edge_infos earlier

        PR tree-optimization/47679
        * tree-ssa-dom.c (free_edge_info): Factored out of free_all_edge_infos.
        (free_all_edge_infos): Use it.
        (allocate_edge_info): Free preexisting edge info data.
        (pass_dominator::execute): Set up initial edge info structures.
        (dom_opt_dom_walker::thread_across_edge): Pass avail_expr_stack to
        thread_across_edge.
        * tree-ssa-threadedge.c (thread_across_edge): Accept new argument.  If
        non-null, then push/pop markers appropriately.
        * tree-ssa-threadedge.h (thread_across_edge): Update prototype.
        * tree-vrp.c (identify_jump_threads): Pass NULL for new argument to
        thread-across_edge.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-dom.c
    trunk/gcc/tree-ssa-threadedge.c
    trunk/gcc/tree-ssa-threadedge.h
    trunk/gcc/tree-vrp.c

Reply via email to