diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-04-29 04:52:46 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-04-29 04:53:02 -0700 |
commit | 9be3bb2c0a258fd6a7d3d05d232a21930c757d3c (patch) | |
tree | 9ef8c3abbb149bc351e1b1f09038177c0240f003 /gcc/fortran/io.c | |
parent | 668d8f3c0c61905bc69a1c73f16fa4fa6273db2a (diff) | |
download | gcc-9be3bb2c0a258fd6a7d3d05d232a21930c757d3c.zip gcc-9be3bb2c0a258fd6a7d3d05d232a21930c757d3c.tar.gz gcc-9be3bb2c0a258fd6a7d3d05d232a21930c757d3c.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/io.c')
0 files changed, 0 insertions, 0 deletions