https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55562|0 |1 is obsolete| | --- Comment #84 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 55567 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55567&action=edit gcc14-bitint-wip.patch Actually implemented support for switches first. The switchlower support pass has most of the support, so all we need is if we detect large/huge _BitInt indexed switch is to lower it at the start of the bitintlower pass with small tweak in the switchlower pass to transform jump tables from ones indexed by large/huge _BitInt into ones indexed by unsigned long long; switchlower never creates clusters with range which doesn't fit into 64 bits, which makes this possible.