https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816
--- Comment #7 from Andrew Cooper <andrew.cooper3 at citrix dot com> --- (In reply to H.J. Lu from comment #5) > Are you suggesting to add an option to generate jump table with ENDBR? Jump tables are a legitimate optimisation. NOTRACK is a weakness in CET protections, and fully hardened userspace (as well as kernels) will want to run with MSR_{U,S}_CET.NOTRACK_EN=0. There should be some future where jump tables can be used in combination with NOTRACK_EN=0.