https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394
--- 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:92343e0ba4d47f21ae20ffcb83d736bdbc15dae0 commit r12-2244-g92343e0ba4d47f21ae20ffcb83d736bdbc15dae0 Author: Richard Biener <rguent...@suse.de> Date: Mon Jul 12 10:49:03 2021 +0200 tree-optimization/101394 - fix PRE full redundancy wrt abnormals This avoids adding a copy from an abnormal picked up from PHI translation much like we'd avoid inserting the translated expression on pred edges. 2021-07-12 Richard Biener <rguent...@suse.de> PR tree-optimization/101394 * tree-ssa-pre.c (do_pre_regular_insertion): Avoid inserting copies from abnormals for a full redundancy. * gcc.dg/torture/pr101394.c: New testcase.