https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124959
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Hans-Peter Nilsson <[email protected]>: https://gcc.gnu.org/g:e6bc437a340486307eb5413f32a52deb888d2bbe commit r16-8793-ge6bc437a340486307eb5413f32a52deb888d2bbe Author: Hans-Peter Nilsson <[email protected]> Date: Tue Apr 21 20:06:49 2026 +0200 Fix PR124959, gcc.dg/hoist-register-pressure-1.c, *-[23].c, failing These test-cases got typo-corrected in r16-8316-g630b53cd4ff1c3, which exposed them failing for cris-elf. Though, at one time they were passing for the right reason, and bisection shows they'd start failing when the CRIS target was CC0-converted, and for the same reason the S/390 32-bit fails. See the pre-existing comment in the test and also see the PR for details, including a suggested plan how to fix the optimization pass, if someone is interested in an "easy hack". Though admittedly, the missed optimization doesn't affect many targets. Regarding the target pattern selector expression, I went for the simplest possible, even though I'm including CRIS in the 64-bit exception. PR target/124959 * gcc.dg/hoist-register-pressure-1.c, gcc.dg/hoist-register-pressure-2.c, gcc.dg/hoist-register-pressure-3.c: Exclude cris-*-*.
