This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52957] Missing suggestions on '=' and '==' confusion
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Apr 2012 22:54:23 +0000
- Subject: [Bug c++/52957] Missing suggestions on '=' and '==' confusion
- Auto-submitted: auto-generated
- References: <bug-52957-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52957
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-12 22:54:23 UTC ---
Works for me:
pinskia@server:~$ ~/treecombine-gcc/bin/gcc t.c -W -S -Wall
t.c: In function âtestâ:
t.c:5:2: warning: suggest parentheses around assignment used as truth value
[-Wparentheses]