parser.c (cp_parser_binary_expression): Increment c_inhibit_evaluation_warnings…
parser.c (cp_parser_binary_expression): Increment c_inhibit_evaluation_warnings while parsing the right hand side of... cp/: * parser.c (cp_parser_binary_expression): Increment c_inhibit_evaluation_warnings while parsing the right hand side of "true || x" or "false && x". * typeck.c (cp_build_binary_op): Only call warn_for_sign_compare if c_inhibit_evaluation_warnings is zero. testsuite/: * g++.dg/warn/skip-2.C: New testcase. From-SVN: r148949
Showing
gcc/testsuite/g++.dg/warn/skip-2.C
0 → 100644
Please
register
or
sign in
to comment