https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:a091e66e510804a29ba2a685b027f5d15aa69f1b commit r9-9771-ga091e66e510804a29ba2a685b027f5d15aa69f1b 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. (cherry picked from commit 92343e0ba4d47f21ae20ffcb83d736bdbc15dae0)