-
- Downloads
x86: Allow -fcf-protection with external thunk
Allow -fcf-protection with external thunk since the external thunk can be made compatible with -fcf-protection. gcc/ PR target/93654 * config/i386/i386-options.c (ix86_set_indirect_branch_type): Allow -fcf-protection with -mindirect-branch=thunk-extern and -mfunction-return=thunk-extern. * doc/invoke.texi: Update notes for -fcf-protection=branch with -mindirect-branch=thunk-extern and -mindirect-return=thunk-extern. gcc/testsuite/ PR target/93654 * gcc.target/i386/pr93654.c: New test.
Showing
- gcc/ChangeLog 9 additions, 0 deletionsgcc/ChangeLog
- gcc/config/i386/i386-options.c 4 additions, 0 deletionsgcc/config/i386/i386-options.c
- gcc/doc/invoke.texi 7 additions, 3 deletionsgcc/doc/invoke.texi
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/i386/pr93654.c 9 additions, 0 deletionsgcc/testsuite/gcc.target/i386/pr93654.c
Loading
Please register or sign in to comment