https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91312
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- THis is not a bug, In C, "i += MACRO;" is equivant to: i = i + MACRO. And since you are using a type smaller than int, it is prompted to int. NOTE there might be another bug associated with this one.