------- Comment #1 from rguenth at gcc dot gnu dot org  2010-04-17 11:03 -------
$ gcc-4.5 -Wlogical-op t.c -S -B.
t.c: In function 'main':
t.c:11:4: warning: logical 'and' of mutually exclusive tests is always false

confirmed.  It should warn "... is always true".


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-17 11:03:25
               date|                            |


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

Reply via email to