]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2016-10-20 Bernd Edlinger <bernd.edlinger@hotmail.de>
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2016 14:00:46 +0000 (14:00 +0000)
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2016 14:00:46 +0000 (14:00 +0000)
        * c-common.c (c_common_truthvalue_conversion): Fix the comment.

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

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