This is the mail archive of the
mailing list for the GCC project.
Re: warning when a function's address is tested?
"Zack Weinberg" <email@example.com> writes:
| Gabriel Dos Reis <firstname.lastname@example.org> writes:
| > "Zack Weinberg" <email@example.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'.
I agree with your suggestion.