aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2006-06-20 00:22:21 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2006-06-20 00:22:21 +0000
commit48e2909e4a9d520a083d213999c926bf135ebed2 (patch)
treeb4bc960e423349ebbe3d7b073ebbb7692b521d8b /gcc
parent94ae87849804a1e67f94a77984147484bc270b31 (diff)
downloadgcc-48e2909e4a9d520a083d213999c926bf135ebed2.zip
gcc-48e2909e4a9d520a083d213999c926bf135ebed2.tar.gz
gcc-48e2909e4a9d520a083d213999c926bf135ebed2.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-common.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c664415..8d1e6d0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 1cef321..dd03a25 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 %<true%>",
+ warning (OPT_Walways_true, "the address of %qD will always evaluate as %<true%>",
inner);
return truthvalue_true_node;
}