https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93656
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:b4edc88453b61d6f3bdb9143cd0486536f95598d commit r8-10040-gb4edc88453b61d6f3bdb9143cd0486536f95598d Author: H.J. Lu <hjl.to...@gmail.com> Date: Thu Feb 20 03:05:27 2020 -0800 i386: Skip ENDBR32 at the target function entry Skip ENDBR32 at the target function entry when initializing trampoline. Tested on Linux/x86-64 CET machine with and without -m32. gcc/ Backport from master PR target/93656 * config/i386/i386.c (ix86_trampoline_init): Skip ENDBR32 at the target function entry. gcc/testsuite/ Backport from master PR target/93656 * gcc.target/i386/pr93656.c: New test. (cherry picked from commit 1d69147af203d4dcd2270429f90c93f1a37ddfff)