Daniel Franke - Re: PING: [PATCH] Implement warning for wrong use of ||/&& (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
I think it still makes sense that -Walways-true warns for things that are always true or always false. For example, "comparison of unsigned
0 is always true" and "comparison of unsigned < 0 is always false" make sense to be together. However, I don't feel very strong about this. So, if something else is considered a better name, I can implement that. Let's hear Gabriel's opinion on this.