Commit eff89e01 by Bernd Edlinger Committed by Bernd Edlinger

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

2016-10-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>

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

From-SVN: r241377
parent 24bc7bf4
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> 2016-10-20 Jason Merrill <jason@redhat.com>
* c-cppbuiltin.c (c_cpp_builtins): Update __cpp_concepts value. * c-cppbuiltin.c (c_cpp_builtins): Update __cpp_concepts value.
......
...@@ -3328,7 +3328,7 @@ c_common_truthvalue_conversion (location_t location, tree expr) ...@@ -3328,7 +3328,7 @@ c_common_truthvalue_conversion (location_t location, tree expr)
TREE_OPERAND (expr, 0)); TREE_OPERAND (expr, 0));
case LSHIFT_EXPR: 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 false positive warnings happen in code where unsigned arithmetic
was used in anticipation of a possible overflow. was used in anticipation of a possible overflow.
Furthermore, if we see an unsigned type here we know that the Furthermore, if we see an unsigned type here we know that the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment