From 48e2909e4a9d520a083d213999c926bf135ebed2 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 20 Jun 2006 00:22:21 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/c-common.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c664415734ad..8d1e6d074138 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 1cef321c8c3e..dd03a252062c 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; }