2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jun 2004 01:58:24 +0000 (01:58 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Jun 2004 01:58:24 +0000 (01:58 +0000)
        PR c++/15145
        * c.opt (Wsequence-point): Enable for C++ and ObjC++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83758 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c.opt

index 8ea4cd7..2e6fa94 100644 (file)
@@ -1,5 +1,8 @@
 2004-06-27  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       PR c++/15145
+       * c.opt (Wsequence-point): Enable for C++ and ObjC++.
+
        PR c/14963
        * c-decl.c (start_decl): Check for null types.
 
index 464cab8..32e600b 100644 (file)
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -371,7 +371,7 @@ ObjC ObjC++ Var(warn_selector)
 Warn if a selector has multiple methods
 
 Wsequence-point
-C ObjC Var(warn_sequence_point)
+C ObjC C++ ObjC++ Var(warn_sequence_point)
 Warn about possible violations of sequence point rules
 
 Wsign-compare