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

--- Comment #25 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Jun 26 07:19:37 2017
New Revision: 249638

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

        PR tree-optimization/80928
        * cfghooks.c (duplicate_block): Do not copy BB_DUPLICATED flag.
        (copy_bbs): Set BB_DUPLICATED flag early.
        (execute_on_growing_pred): Do not execute for BB_DUPLICATED
        marked blocks.
        (execute_on_shrinking_pred): Likewise.
        * tree-ssa.c (ssa_redirect_edge): Do not look for PHI args in
        BB_DUPLICATED blocks.
        * tree-ssa-phionlycoprop.c (eliminate_degenerate_phis_1): Properly
        iterate over all PHIs considering removal of *gsi.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfghooks.c
    trunk/gcc/tree-ssa-phionlycprop.c
    trunk/gcc/tree-ssa.c

Reply via email to