This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warning when a function's address is tested?
Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
> "Zack Weinberg" <zack@codesourcery.com> writes:
>
> | > ! warning ("the address of `%D', will always be `true'",
> | > ! TREE_OPERAND (expr, 0));
> |
> | is awkward English - suggest removing the comma and the quotes around 'true'.
>
>
> "the address of '%D' will always evaluate to true"
That's a better choice of verb, but then I think you want to put the
quotes around 'true' back, and maybe use 'as' instead of 'to'.
zw