[Bug tree-optimization/15357] [tree-ssa] combing if statements

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 9 20:40:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed by:
2013-10-29  Andrew Pinski <apinski@cavium.com>

        * tree-ssa-ifcombine.c: Include rtl.h and tm_p.h.
        (ifcombine_ifandif): Handle cases where maybe_fold_and_comparisons
        fails, combining the branches anyways.
        (tree_ssa_ifcombine): Inverse the order of the basic block walk,
        increases the number of combinings.
        * gimple.h (gsi_start_nondebug_after_labels_bb): New function.



More information about the Gcc-bugs mailing list