2016-10-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
commit5f64e688ee4e2d5c421c8c46bb6f80588db58368
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2016 17:14:41 +0000 (24 17:14 +0000)
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2016 17:14:41 +0000 (24 17:14 +0000)
tree192f2356af6a042207d630b08e779de14912326f
parentc62d63d43bbf00c88cefcd2f71f8d5c6adafd294
2016-10-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * c-common.c (c_common_truthvalue_conversion): Warn for
        multiplications in boolean context.  Fix the quoting of '<<' and '<'
        in the shift warning.

gcc:
2016-10-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * doc/invoke.text (Wint-in-bool-context): Update documentation.
        * value-prof.c (stringop_block_profile): Fix a warning.

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

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241490 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wint-in-bool-context-3.c [new file with mode: 0644]
gcc/value-prof.c