gcc-current: badly worded warning?

Ben Elliston bje@au1.ibm.com
Wed May 30 10:03:00 GMT 2007


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



More information about the Gcc mailing list