2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
commit43667bd37b4c8b2be902252fb9c89d9dd4204613
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2007 09:32:08 +0000 (12 09:32 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2007 09:32:08 +0000 (12 09:32 +0000)
treef1b274125c0152bf665584f0c63ddbf388817016
parent0f6d65eae6f1c5c130e71cbbcc51eda2b9a4bac6
2007-02-12  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR middle-end/7651
* doc/invoke.texi (Wunused-value): Update description.
(Wextra): Delete item.
* opts.c (set_Wextra): Don't use the value of Wextra to set the
value of Wunused-value.
* c-typeck.c (c_process_expr_stmt): Don't check extra_warnings.
(c_finish_stmt_expr): Don't check extra_warnings.
(emit_side_effect_warnings): The caller is responsible to check
warn_unused_value.
cp/
* cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings.
Check warn_unused_value just once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121843 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/doc/invoke.texi
gcc/opts.c