This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51545] missing -Wparentheses diagnostic with compound assignment used as condition
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Dec 2011 12:09:21 +0000
- Subject: [Bug c++/51545] missing -Wparentheses diagnostic with compound assignment used as condition
- Auto-submitted: auto-generated
- References: <bug-51545-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51545
--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-12-15 12:09:21 UTC ---
Or perhaps PR50012? Parenthesized expressions get TREE_NO_WARNING set on them.