https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116479
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Andre Simoes Dias Vieira <[email protected]>: https://gcc.gnu.org/g:eec0e950c6ba80217c73fe720a1b6cdba982f796 commit r15-10820-geec0e950c6ba80217c73fe720a1b6cdba982f796 Author: Andre Vieira <[email protected]> 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. (cherry picked from commit 8073fa147248aa67c11227f922d91d784659077e)
