[PING] Walways-true:Warn if a comparison is always true or always false due to the limited range of the data type

Dirk Mueller dmueller@suse.de
Thu Mar 22 10:04:00 GMT 2007


On Thursday, 22. March 2007, Manuel López-Ibáñez wrote:

> I think that after 18 days, a ping is due.
> PING: http://gcc.gnu.org/ml/gcc-patches/2007-03/msg00207.html

Again my usual comment: I think -Walways-true is a bad name for a warning that 
warns about expressions being always false. 

I think -Wlogical or -Wlogical-invariant or similar would be a better name. 


Thanks,
Dirk



More information about the Gcc-patches mailing list