This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249638 - in /trunk/gcc: ChangeLog cfghooks.c t...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 26 Jun 2017 07:19:38 -0000
- Subject: r249638 - in /trunk/gcc: ChangeLog cfghooks.c t...
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 <rguenther@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