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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-bisection             |
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
It has gone on trunk with r260350:

SVN revision: 260350
Author: marxin
Radically simplify emission of balanced tree for switch statements.

2018-05-18  Martin Liska  <mli...@suse.cz>

        * passes.def: Add pass_lower_switch and pass_lower_switch_O0.
        * tree-pass.h (make_pass_lower_switch_O0): New function.
        * tree-switch-conversion.c (node_has_low_bound): Remove.
        (node_has_high_bound): Likewise.
        (node_is_bounded): Likewise.
        (class pass_lower_switch): Make it a template type and create
        two instances.
        (pass_lower_switch::execute): Add template argument.
        (make_pass_lower_switch): New function.
        (make_pass_lower_switch_O0): New function.
        (do_jump_if_equal): Remove.
        (emit_case_nodes): Simplify to just handle all 3 cases and leave
        all the hard work to tree optimization passes.
2018-05-18  Martin Liska  <mli...@suse.cz>

        * gcc.dg/tree-ssa/vrp104.c: Adjust dump file that is scanned.
        * gcc.dg/tree-prof/update-loopch.c: Likewise.

Reply via email to