https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125972
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Stefan Schulze Frielinghaus <[email protected]>: https://gcc.gnu.org/g:b758c7e17c7ec0ff7bec63d75cc0880e0a7d2370 commit r15-11337-gb758c7e17c7ec0ff7bec63d75cc0880e0a7d2370 Author: Stefan Schulze Frielinghaus <[email protected]> Date: Fri Jun 26 16:46:48 2026 +0200 s390: Deal with non-compare conditions during RTX costing [PR125972] During cprop we have to cost intermediate RTXs which may have non-compare conditions as e.g. r108={(0x1)?r113:r109} which get folded later on. First seen with r16-5417-g97a7d568f3d720. PR target/125972 gcc/ChangeLog: * config/s390/s390.cc (s390_rtx_costs): Deal with non-compare conditions during costing. Also fix some indentation. gcc/testsuite/ChangeLog: * gcc.target/s390/pr125972.c: New test. (cherry picked from commit f070b1aaa0f87dc6405a1840581c17c005a1f5b1)
