https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86952
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Mar 8 12:55:40 2019 New Revision: 269492 URL: https://gcc.gnu.org/viewcvs?rev=269492&root=gcc&view=rev Log: x86: Disable jump tables when retpolines are used (PR target/86952). 2019-03-08 Martin Liska <mli...@suse.cz> PR target/86952 * config/i386/i386.c (ix86_option_override_internal): Disable jump tables when retpolines are used. 2019-03-08 Martin Liska <mli...@suse.cz> PR target/86952 * gcc.target/i386/pr86952.c: New test. * gcc.target/i386/indirect-thunk-7.c: Use jump tables to match scanned pattern. * gcc.target/i386/indirect-thunk-inline-7.c: Likewise. Added: trunk/gcc/testsuite/gcc.target/i386/pr86952.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-7.c trunk/gcc/testsuite/gcc.target/i386/indirect-thunk-inline-7.c