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

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jan 13 08:11:01 2017
New Revision: 244392

URL: https://gcc.gnu.org/viewcvs?rev=244392&root=gcc&view=rev
Log:
2017-01-13  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/77283
        * gimple-ssa-split-paths.c: Include gimple-ssa.h, tree-phinodes.h
        and ssa-iterators.h.
        (is_feasible_trace): Implement a cost model based on joiner
        PHI node uses.

        * gcc.dg/tree-ssa/split-path-7.c: Adjust.
        * gcc.dg/tree-ssa/split-path-8.c: New testcase.
        * gcc.dg/tree-ssa/split-path-9.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-8.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c
Modified:
    trunk/gcc/gimple-ssa-split-paths.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/split-path-7.c

Reply via email to