re PR c/27149 (English in warning not grammatical: "the address of x, will always...
authorMartin Michlmayr <tbm@cyrius.com>
Tue, 20 Jun 2006 00:22:21 +0000 (00:22 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 20 Jun 2006 00:22:21 +0000 (00:22 +0000)
PR c/27149
* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.

From-SVN: r114800

gcc/ChangeLog
gcc/c-common.c

index c664415734ad9f6800132954dfe9d7eece65c1c8..8d1e6d074138b4326997528e4d9dcf66cd5a3e9d 100644 (file)
@@ -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
index 1cef321c8c3eaf98f5a70f871480ba9afd1f51b3..dd03a252062cbdd3450eaec61003b9568bff69d1 100644 (file)
@@ -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;
          }