https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98786
--- Comment #4 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:fd61ca67f97acc5462d02676380af92329c37bb2 commit r11-6851-gfd61ca67f97acc5462d02676380af92329c37bb2 Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 22 10:34:42 2021 +0100 tree-optimization/98786 - fix issue with phiopt and abnormals This fixes factor_out_conditional_conversion to avoid creating overlapping lifetimes for abnormals. It also makes sure we do deal with a conditional conversion (at least for one PHI arg def) - for the testcase that wasn't the case. 2021-01-22 Richard Biener <rguent...@suse.de> PR tree-optimization/98786 * tree-ssa-phiopt.c (factor_out_conditional_conversion): Avoid adding new uses of abnormals. Verify we deal with a conditional conversion. * gcc.dg/torture/pr98786.c: New testcase.