https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:8073fa147248aa67c11227f922d91d784659077e commit r16-140-g8073fa147248aa67c11227f922d91d784659077e Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Fri Apr 25 14:02:43 2025 +0100 modulo-sched: reject loop conditions when not decrementing with one [PR 116479] In the commit titled 'doloop: Add support for predicated vectorized loops' the doloop_condition_get function was changed to accept loops with decrements larger than 1. This patch rejects such loops for modulo-sched. gcc/ChangeLog: PR rtl-optimization/116479 * modulo-sched.cc (doloop_register_get): Reject conditions with decrements that are not 1. gcc/testsuite/ChangeLog: * gcc.dg/pr116479.c: New test.