Manuel López-Ibáñez - [PING^2] Wunused-value and Wextra interaction (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: "Manuel López-Ibáñez"
- To: gcc-patches
- Date: Sat, 10 Feb 2007 09:54:29 +0000
- Subject: [PING^2] Wunused-value and Wextra interaction
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00440.htmlUpdated to revision 121678, bootstrapped and regression tested.
I have modified the patch with respect to the original so each front-end (C/C++) keeps its current behaviour. I hope that this change makes easier to approve the patch.
OK for mainline?2007-02-10 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/ PR middle-end/7651
- cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings. Check warn_unused_value just once.
:ADDPATCH C/C++:
Attachment:wunused-wextra-try2.diff
Description: Text document
- Follow-Ups:
- Re: [PING^2] Wunused-value and Wextra interaction
* From: Joseph S. Myers
- Re: [PING^2] Wunused-value and Wextra interaction
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |