https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90340
--- Comment #17 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Fredrik Hederstierna from comment #16) > Still you cannot reach code size as gcc-8.3.0 ? So something in new > switch-case compilation generates larger code still? The biggest difference from GCC 8 is that we can emit jump table for a subset of cases. That's what happening for the reported test-case. In generate, GCC 9+ sees more opportunities for jump tables.