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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> I think this code is undefined/unspecified as -86 is outside the range of an
> unsigned int.

Even with changing to cast to int first still gives the same.  Note the cast to
int is needed first to get correct results.

Reply via email to