This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32061] wrong warning wording
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2007 23:47:06 -0000
- Subject: [Bug c/32061] wrong warning wording
- References: <bug-32061-828@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-05-24 00:47 -------
I don't see the problem because
"xx.c:7: warning: logical '&&' with non-zero constant will always evaluate as
true"
means the non-zero constant will evaluate as true and not the logical will
evaluate as true.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32061