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

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

https://gcc.gnu.org/g:bd9f62324853686c65e1b4331a187102e1e526b0

commit r13-9085-gbd9f62324853686c65e1b4331a187102e1e526b0
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>
    (cherry picked from commit 7d2845da112214f064e7b24531cc67e256b5177e)

Reply via email to