https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101025
--- Comment #6 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:b8b80b8aa3d9a7abbcb59b651ea5e84c2ea12d0b commit r12-1392-gb8b80b8aa3d9a7abbcb59b651ea5e84c2ea12d0b Author: Richard Biener <rguent...@suse.de> Date: Fri Jun 11 12:06:08 2021 +0200 tree-optimization/101025 - fix store-motion dependence checking This plugs a hole in store-motion where it fails to perform dependence checking on conditionally executed but not store-motioned refs. 2021-06-11 Richard Biener <rguent...@suse.de> PR tree-optimization/101025 * tree-ssa-loop-im.c (sm_seq_valid_bb): Make sure to process all refs that require dependence checking. * gcc.dg/torture/pr101025.c: New testcase.