[Bug c++/52957] Missing suggestions on '=' and '==' confusion

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 12 22:54:00 GMT 2012


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]



More information about the Gcc-bugs mailing list