https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97311 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can't get the algorithm to ever produce an intermediate result that doesn't fit in 32 bits, so I'm not sure there's actually a problem here in practice.