https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334
--- Comment #20 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #19) > Created attachment 52329 [details] > gcc12-pr104334.patch > > Patch doing ?h_range and related comparisons in widest_int. Looks like a good approach to me FWIW. You can use infix operators instead of lts_p etc. for widest_ints, since widest_ints always have enough bits for the sign.