aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/io.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-10-04 16:21:15 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-10-05 03:22:00 +0800
commit7d2845da112214f064e7b24531cc67e256b5177e (patch)
treece80b35c81ab3bc7c9f5a5375e83160bdee63aa8 /gcc/fortran/io.cc
parent20ce363c557d6458ec3193ab4e7df760fbe34976 (diff)
downloadgcc-7d2845da112214f064e7b24531cc67e256b5177e.zip
gcc-7d2845da112214f064e7b24531cc67e256b5177e.tar.gz
gcc-7d2845da112214f064e7b24531cc67e256b5177e.tar.bz2
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.tools@gmail.com>
Diffstat (limited to 'gcc/fortran/io.cc')
0 files changed, 0 insertions, 0 deletions