https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109759
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Odd, the code is explicitely guarded: inline wi::hwi_with_prec::hwi_with_prec (HOST_WIDE_INT v, unsigned int p, signop s) : precision (p), sgn (s) { if (precision < HOST_BITS_PER_WIDE_INT) val = sext_hwi (v, precision); and in sext_hwi as well.