Messages in this thread |  | | | From | Andrew Pinski <> | | Subject | Re: GCC feature request: warn on "if (function_name)" | | Date | Fri, 13 Feb 2004 20:51:21 -0800 |
| |
On Feb 13, 2004, at 20:46, Jamie Lokier wrote: > > Perhaps a later GCC than 3.2.2 already has this test; if someone is > able to check, that would be nice.
Yes, 3.4.0 does have this check. t.c:5: warning: the address of `i', will always evaluate as `true'
Thanks, Andrew Pinski
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |