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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Try -Wconversion.

Also there is no overflow here as unsigned is always defined as wrapping.

Reply via email to