c-common.c (c_common_truthvalue_conversion): Fix the comment.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 20 Oct 2016 14:00:46 +0000 (14:00 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 20 Oct 2016 14:00:46 +0000 (14:00 +0000)
2016-10-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-common.c (c_common_truthvalue_conversion): Fix the comment.

From-SVN: r241377

gcc/c-family/ChangeLog
gcc/c-family/c-common.c

index ae399ea31428669697186824ca689434d54532a0..b16b1c1fac44e026bef148bbb568f9cb7905935d 100644 (file)
@@ -1,3 +1,7 @@
+2016-10-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * c-common.c (c_common_truthvalue_conversion): Fix the comment.
+
 2016-10-20  Jason Merrill  <jason@redhat.com>
 
        * c-cppbuiltin.c (c_cpp_builtins): Update __cpp_concepts value.
index 8af3ad53a3dde1d0e3e4cc798e39001f3c4ff7ba..abc074026402907acb9aec17cfbd55ce6c9502e0 100644 (file)
@@ -3328,7 +3328,7 @@ c_common_truthvalue_conversion (location_t location, tree expr)
                                               TREE_OPERAND (expr, 0));
 
     case LSHIFT_EXPR:
-      /* We will only warn on unsigned shifts here, because the majority of
+      /* We will only warn on signed shifts here, because the majority of
         false positive warnings happen in code where unsigned arithmetic
         was used in anticipation of a possible overflow.
         Furthermore, if we see an unsigned type here we know that the