https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119984
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
ci&=0x7f800000;
ci+=127<<23;
ci&=0x7f800000;
So ci is positive before the addition. The addition will cause a signed integer
overflow. Either use -fwrapv or change to use unsigned type which has wrapping
behavior.