https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101280
--- Comment #9 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:ac6efdd70779a3be748d11c3b03c08df9ce15dd7 commit r10-10097-gac6efdd70779a3be748d11c3b03c08df9ce15dd7 Author: Richard Biener <rguent...@suse.de> Date: Wed Jun 23 09:59:28 2021 +0200 tree-optimization/101173 - fix interchange dependence checking This adjusts the loop interchange dependence checking to properly guard all dependence checks with DDR_REVERSED_P or its inverse. 2021-07-07 Richard Biener <rguent...@suse.de> PR tree-optimization/101173 PR tree-optimization/101280 * gimple-loop-interchange.cc (tree_loop_interchange::valid_data_dependences): Properly guard all dependence checks with DDR_REVERSED_P or its inverse. * gcc.dg/torture/pr101173.c: New testcase. (cherry picked from commit e46ec6e243c704f0858d16af380a7d9c36fc4244)