https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113705
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Shouldn't that wi::to_wide (gimple_assign_rhs2 (stmt)) in there be wide_int::from (gimple_assign_rhs2 (stmt), prec, TYPE_SIGN (TREE_TYPE (rhs))) instead? Otherwise the ICE is obviously because wi::to_wide (gimple_assign_rhs2 (stmt)) is unsigned int 65535, while prec is 64-bit and comparing 32-bit vs. 64-bit wide_int is not valid.