2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-24 12:31:25 +08:00

re PR c/27149 (English in warning not grammatical: "the address of x, will always evaluate")

PR c/27149
	* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.

From-SVN: r114800
This commit is contained in:
Martin Michlmayr 2006-06-20 00:22:21 +00:00 committed by Roger Sayle
parent 94ae878498
commit 48e2909e4a
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
2006-06-19 Martin Michlmayr <tbm@cyrius.com>
PR c/27149
* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
2006-06-19 Mike Stump <mrs@apple.com>
* tree.c (variably_modified_type_p): VM arguments don't make the

@ -2507,7 +2507,7 @@ c_common_truthvalue_conversion (tree expr)
{
/* Common Ada/Pascal programmer's mistake. We always warn
about this since it is so bad. */
warning (OPT_Walways_true, "the address of %qD, will always evaluate as %<true%>",
warning (OPT_Walways_true, "the address of %qD will always evaluate as %<true%>",
inner);
return truthvalue_true_node;
}