https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120121
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is expected behavior. In the case of uint16_t*uint16_t it is promoted to int but both sides are always positive so in the case of overflow, it is undefined so there is no warning.