https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125972
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Stefan Schulze Frielinghaus <[email protected]>: https://gcc.gnu.org/g:e59ba4f5cbdf6e89b858e2dc7e352da827c60414 commit r16-9206-ge59ba4f5cbdf6e89b858e2dc7e352da827c60414 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)
