https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95248
--- 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:b6ed2e2bca54d1d290f553549d28b0c60a0f240f commit r11-563-gb6ed2e2bca54d1d290f553549d28b0c60a0f240f Author: Richard Biener <rguent...@suse.de> Date: Fri May 22 08:48:04 2020 +0200 tree-optimization/95248 - fix oversight in SM rewrite This fixes a leftover early out in determining the sequence of stores to materialize. 2020-05-22 Richard Biener <rguent...@suse.de> PR tree-optimization/95248 * tree-ssa-loop-im.c (sm_seq_valid_bb): Remove bogus early out. * gcc.dg/torture/pr95248.c: New testcase.