diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2017-10-24 10:52:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2017-10-24 03:52:50 -0700 |
commit | ec8f7ce60791b582ce377eac47d14ee9122c557e (patch) | |
tree | 61d5dfbbc1cb4ca1148dc14fbdcef62d8b3f1668 /gcc/tree-ssa-phiopt.c | |
parent | b75200689b0d86be5c3b91afb7303575359622ae (diff) | |
download | gcc-ec8f7ce60791b582ce377eac47d14ee9122c557e.zip gcc-ec8f7ce60791b582ce377eac47d14ee9122c557e.tar.gz gcc-ec8f7ce60791b582ce377eac47d14ee9122c557e.tar.bz2 |
i386: Don't insert ENDBR at function entrance when called directly
There is no need to insert ENDBR instruction at function entrance if
function is only called directly.
gcc/
PR target/82659
* config/i386/i386.c (rest_of_insert_endbranch): Don't insert
ENDBR instruction at function entrance if function is only
called directly.
gcc/testsuite/
PR target/82659
* gcc.target/i386/cet-label-2.c: New test.
* gcc.target/i386/cet-sjlj-4.c: Likewise.
* gcc.target/i386/cet-sjlj-5.c: Likewise.
* gcc.target/i386/cet-switch-3.c: Likewise.
* gcc.target/i386/pr82659-1.c: Likewise.
* gcc.target/i386/pr82659-2.c: Likewise.
* gcc.target/i386/pr82659-3.c: Likewise.
* gcc.target/i386/pr82659-4.c: Likewise.
* gcc.target/i386/pr82659-5.c: Likewise.
* gcc.target/i386/pr82659-6.c: Likewise.
From-SVN: r254040
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions