invoke.texi: Update -Wint-in-bool-context.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 3 Oct 2016 08:00:21 +0000 (08:00 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 3 Oct 2016 08:00:21 +0000 (08:00 +0000)
commit1633d3b91af987aefd53b64cd4071923e1f45502
tree93439ae229ea677d34c8945bc24e460dd4b880de
parent21d7b03ca169ff93b6eb4e3432bf0e01a80819ba
invoke.texi: Update -Wint-in-bool-context.

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

        * doc/invoke.texi: Update -Wint-in-bool-context.

c-family:
2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-common.c (c_common_truthvalue_conversion): Warn for suspicious
        left shift in boolean context.

cp:
2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * parser.c (cp_parser_condition): Fix a warning.

testsuite:
2016-10-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-c++-common/Wint-in-bool-context.c: Update test.

From-SVN: r240706
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wint-in-bool-context.c