https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970
--- 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:1967fd8f2197f2b0334ab0fbc26abc3d9efe56c9 commit r12-4865-g1967fd8f2197f2b0334ab0fbc26abc3d9efe56c9 Author: Richard Biener <rguent...@suse.de> Date: Wed Nov 3 13:26:48 2021 +0100 tree-optimization/102970 - remap cliques when translating over backedges The following makes sure to remap (or rather drop for simplicity) dependence info encoded in MR_DEPENDENCE_CLIQUE when PRE PHI translation translates a reference over a backedge since that ends up interleaving two different loop iterations which boils down to two different inline copies. 2021-11-03 Richard Biener <rguent...@suse.de> PR tree-optimization/102970 * tree-ssa-pre.c (phi_translate_1): Drop clique and base when translating a MEM_REF over a backedge. * g++.dg/opt/pr102970.C: New testcase.