diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-25 19:03:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-25 19:03:28 +0000 |
commit | 98f80e918ed957896fe0fd1cf0329aa8d2f68feb (patch) | |
tree | a411b6dc70072c2588e2d8f18097acf381dc3921 /gcc/tree-ssa-structalias.c | |
parent | 777a3a6a0c4e144f0a97fd807c0a16d8ab8541be (diff) | |
download | gcc-98f80e918ed957896fe0fd1cf0329aa8d2f68feb.zip gcc-98f80e918ed957896fe0fd1cf0329aa8d2f68feb.tar.gz gcc-98f80e918ed957896fe0fd1cf0329aa8d2f68feb.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions