https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96349
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:d1f9b13fd45f9c7ca6c5dd31245705388645f306 commit r10-8744-gd1f9b13fd45f9c7ca6c5dd31245705388645f306 Author: Richard Biener <rguent...@suse.de> Date: Tue Jul 28 09:45:52 2020 +0200 tree-optimization/96349 - avoid abnormal coalescing issues in loop split This avoids splitting a loop when the entry value of a loop PHI is involved with abnormal coalescing. 2020-07-28 Richard Biener <rguent...@suse.de> PR tree-optimization/96349 * tree-ssa-loop-split.c (stmt_semi_invariant_p_1): When the condition runs into a loop PHI with an abnormal entry value give up. * gcc.dg/torture/pr96349.c: New testcase. (cherry picked from commit 2b2f3867c09c8977268b8ffbd646ac242188b335)