https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-01 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > b+b has type int But even b+b+b can never be negative (which is the case where the warning is interesting).