https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121461
Bug ID: 121461 Summary: switch to table conversion should be switched off for BPF Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Target: bpf-none-none BPF loader in the kernel does not understand loading from rodata so switch conversion should default to being off for BPF. See https://lore.kernel.org/linux-media/ajpasyvycqxmw...@gofer.mess.org/ . The conclusion of this thread is that switch conversion should be turned off.