http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60442
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'm not convinced there is anything wrong. The reason to warn about if(a = b)
or if(a = a + b) is that way too often people just mean to write if(a == b)
or if(a == a + b) instead, but confusing += for == happens orders of magnitude
less often.