This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/23964] -Wparentheses doesn't catch all assignments used as truth value


------- Additional Comments From joseph at codesourcery dot com  2005-09-20 20:05 -------
Subject: Re:  -Wparentheses doesn't catch all assignments used
 as truth value

On Mon, 19 Sep 2005, pinskia at gcc dot gnu dot org wrote:

> I could sware this was discussed before in a bug.

Yes.  The existing logic for only warning for plain assignment is 
deliberate, and bug 17120 is for when I broke that for C++.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23964


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]