Re: [PATCH] tree-switch-conversion: Bugfixes for _BitInt [PR113491]

2024-01-20 Thread Richard Biener
> Am 20.01.2024 um 10:36 schrieb Jakub Jelinek : > > Hi! > > The following patch fixes various issues with large/huge _BitInt used as > switch > expressions. > In particular: > 1) the indexes in CONSTRUCTORs shouldn't be types with precision larger than > sizetype precision, varasm uses wi

[PATCH] tree-switch-conversion: Bugfixes for _BitInt [PR113491]

2024-01-20 Thread Jakub Jelinek
Hi! The following patch fixes various issues with large/huge _BitInt used as switch expressions. In particular: 1) the indexes in CONSTRUCTORs shouldn't be types with precision larger than sizetype precision, varasm uses wi::to_offset on those and too large indexes ICE; we've already checked