http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51562
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |NEW Version|4.5.2 |4.7.0 Keywords| |diagnostic Last reconfirmed| |2011-12-15 CC| |manu at gcc dot gnu.org Resolution|INVALID | Ever Confirmed|0 |1 Summary|Expression evaluation with |missing -Wsequence-point |commas seems incorrect in |warning for expression with |gcc 4.5.2, 4.4.4 |commas. --- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-12-15 14:45:46 UTC --- Not sure why -Wsequence-point is missing this, but it is a bug. Clang 3.1 does not warn either.