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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:0a074b8c7e79f9d9359d044f1499b0a9ce9d2801

commit r15-9431-g0a074b8c7e79f9d9359d044f1499b0a9ce9d2801
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Sun Apr 13 12:20:42 2025 -0700

    APX: Don't use red-zone with 32 GPRs and no caller-saved registers

    Don't use red-zone when there are no caller-saved registers with 32 GPRs
    since 128-byte red-zone is too small for 31 GPRs.

    gcc/

            PR target/119784
            * config/i386/i386.cc (ix86_using_red_zone): Don't use red-zone
            with 32 GPRs and no caller-saved registers.

    gcc/testsuite/

            PR target/119784
            * gcc.target/i386/pr119784a.c: New test.
            * gcc.target/i386/pr119784b.c: Likewise.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to