https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96768
--- Comment #4 from Christophe Lyon <clyon at gcc dot gnu.org> --- That's what I replied in the original PR94538, but Wilco said the best option was to turn off switch tables: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538#c14 See also another comment from him: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94538#c16 related to immediate loads from rodata/bss.