https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125972

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Stefan Schulze Frielinghaus
<[email protected]>:

https://gcc.gnu.org/g:423786c073054b9dbb1c73eadfb47dfcbc2b6955

commit r13-10392-g423786c073054b9dbb1c73eadfb47dfcbc2b6955
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)

Reply via email to