This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-current: badly worded warning?
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: Eyal Lebedinsky <eyal at eyal dot emu dot id dot au>
- Cc: list gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 30 May 2007 17:41:20 +1000
- Subject: Re: gcc-current: badly worded warning?
- References: <4652F1DE.2050407@eyal.emu.id.au>
Hey Eyal,
> I see two kinds of warnings:
> warning: logical '||' with non-zero constant will always evaluate as true
> warning: logical '&&' with non-zero constant will always evaluate as true
>
> The first statement is true, the second false.
You're right. Can you please file a PR for this?
Thanks,
Ben