https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110053

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Using -fsanitize=float-cast-overflow we get:
runData/keep/in.183.c:705:201: runtime error: 3.08177e+22 is outside the range
of representable values of type 'int'
runData/keep/in.183.c:452:13: runtime error: 3.08177e+22 is outside the range
of representable values of type 'short int'

So yes r15-1022 makes sense and also makes sense why -O0 and -O1 had produced
different results.

Reply via email to