https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97199
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:4dcc7f03b54087638e084ac69d40d7507fe83bd8 commit r11-3456-g4dcc7f03b54087638e084ac69d40d7507fe83bd8 Author: Richard Biener <rguent...@suse.de> Date: Fri Sep 25 13:08:48 2020 +0200 tree-optimization/97199 - fix virtual operand update in if-conversion This fixes a corner case with virtual operand update in if-conversion by re-organizing the code to remove edges only after the last point we need virtual PHI operands to be available. 2020-09-25 Richard Biener <rguent...@suse.de> PR tree-optimization/97199 * tree-if-conv.c (combine_blocks): Remove edges only after looking at virtual PHI args.