-Wsequence-point is documented to be C-only. However, it would be just as useful for C++ as it is for C. We should implement -Wsequence-point for C++.
-- Summary: Should enable -Wsequence-point for C++ Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: austern at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: all GCC host triplet: all GCC target triplet: all http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18150