2016-10-07 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR c++/77700
* c-common.c (c_common_truthvalue_conversion): Warn also for
suspicious enum values in boolean context.
cp:
2016-10-07 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR c++/77700
* parser.c (cp_parser_base_specifier): Fix a warning.
testsuite:
2016-10-07 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR c++/77700
* c-c++-common/Wint-in-bool-context.c: Update test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240867 138bc75d-0d04-0410-961f-82ee72b054a4