https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112887
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 56835 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56835&action=edit gcc14-pr112887.patch The function uses tree_fits_uhwi_p and then just blindly sets int vars to tree_to_uhwi. I think we just should use unsigned HOST_WIDE_INT types everywhere, that fixes the ICE too.