https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119224
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vineet Gupta <vine...@gcc.gnu.org>: https://gcc.gnu.org/g:cb6070c79dd9334e7cfff40bacd21da4f337cc33 commit r15-8895-gcb6070c79dd9334e7cfff40bacd21da4f337cc33 Author: Vineet Gupta <vine...@rivosinc.com> Date: Mon Mar 24 10:36:52 2025 -0700 RISC-V: disable the abd expander for gcc-15 release [PR119224] It seems the new expander triggers a latent issue in sched1 causing extraneous spills in a different sad variant. Given how close we are to gcc-15 release, disable it for now. Since we do want to retain and re-enable this capabilty, manully disable vs. reverting the orig patch which takes away the test case too. Fix the orig test case to expect old codegen idiom (although vneg is no longer emitted, in favor of vrsub). Also add a new testcase which flags any future spills in the affected routine. PR target/119224 gcc/ChangeLog: * config/riscv/autovec.md: Disable abd splitter. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr117722.c: Adjust output insn. * gcc.target/riscv/rvv/autovec/pr119224.c: Add new test. Signed-off-by: Vineet Gupta <vine...@rivosinc.com>