https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95804
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Bin Cheng <am...@gcc.gnu.org>: https://gcc.gnu.org/g:dd21b03900085c4d60bf03207ad28bcbfbc86a4b commit r11-1968-gdd21b03900085c4d60bf03207ad28bcbfbc86a4b Author: Bin Cheng <bin.ch...@linux.alibaba.com> Date: Thu Jul 9 18:10:03 2020 +0800 Schedule reduction partition in the last. If reduction partition's SCC is broken by runtime alias checks, force a negative post order to it so that it will be scheduled in the last. 2020-07-09 Bin Cheng <bin.ch...@linux.alibaba.com> gcc/ PR tree-optimization/95804 * tree-loop-distribution.c (break_alias_scc_partitions): Force negative post order to reduction partition. gcc/testsuite/ PR tree-optimization/95804 * gcc.dg/tree-ssa/pr95804.c: New test.