From: Martin Michlmayr Date: Tue, 20 Jun 2006 00:22:21 +0000 (+0000) Subject: re PR c/27149 (English in warning not grammatical: "the address of x, will always... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48e2909e4a9d520a083d213999c926bf135ebed2;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c664415734a..8d1e6d07413 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-19 Martin Michlmayr + + PR c/27149 + * c-common.c (c_common_truthvalue_conversion): Fix grammar in warning. + 2006-06-19 Mike Stump * tree.c (variably_modified_type_p): VM arguments don't make the diff --git a/gcc/c-common.c b/gcc/c-common.c index 1cef321c8c3..dd03a252062 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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 %", + warning (OPT_Walways_true, "the address of %qD will always evaluate as %", inner); return truthvalue_true_node; }