c-common.c (c_common_truthvalue_conversion): Don't warn if TREE_NO_WARNING is set.
authorSteven Bosscher <stevenb@suse.de>
Sun, 18 Jul 2004 23:57:31 +0000 (23:57 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sun, 18 Jul 2004 23:57:31 +0000 (23:57 +0000)
commit31ec7d2ff721fc2e54c80cd76564f80ffbe63244
tree3dd4f5aa8da168169bc05f6987d79fd7e9ab12a4
parent383c9d5d29d8ad4dd934f457ae2777790f0f5a3c
c-common.c (c_common_truthvalue_conversion): Don't warn if TREE_NO_WARNING is set.

* c-common.c (c_common_truthvalue_conversion): Don't warn if
TREE_NO_WARNING is set.

cp/
* cp-tree.h (C_SET_EXP_ORIGINAL_CODE): Remove.
* decl2.c (grokfield): Don't check current_class_depth via
unused TREE_COMPLEXITY.
* semantics.c (finish_parenthesized_expr): Set TREE_NO_WARNING
to avoid the missing parentheses warning.
Don't set C_SET_EXP_ORIGINAL_CODE.

Co-Authored-By: Joseph Myers <jsm@polyomino.org.uk>
From-SVN: r84903
gcc/ChangeLog
gcc/c-common.c
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/semantics.c