https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78742
--- Comment #9 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 9 Dec 2016, mpolacek at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78742 > > --- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> --- > Yea, I noticed these as well. Let me know if you want me to do some cleanups > here. I think a good move would be to make those 'int's HOST_WIDE_INTs (it looks like there's a lot of places to fix though). Actually catching the doesn-not-fit issue would be still something separate (and also catch the overflow in the multiplication...).