OSDN Git Service

PR c/27149
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 00:22:21 +0000 (00:22 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 00:22:21 +0000 (00:22 +0000)
* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114800 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-common.c

index c664415..8d1e6d0 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 1cef321..dd03a25 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;
          }