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

--- Comment #3 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:7d2845da112214f064e7b24531cc67e256b5177e

commit r15-4080-g7d2845da112214f064e7b24531cc67e256b5177e
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Oct 4 16:21:15 2024 +0800

    x86: Disable stack protector for naked functions

    Since naked functions should not enable stack protector, define
    TARGET_STACK_PROTECT_RUNTIME_ENABLED_P to disable stack protector
    for naked functions.

    gcc/

            PR target/116962
            * config/i386/i386.cc (ix86_stack_protect_runtime_enabled_p): New
            function.
            (TARGET_STACK_PROTECT_RUNTIME_ENABLED_P): New.

    gcc/testsuite/

            PR target/116962
            * gcc.target/i386/pr116962.c: New file.

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

Reply via email to