diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-16 16:48:01 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-16 16:48:01 +0000 |
commit | b321a57a315097c60d058fb02bc13d847ecac880 (patch) | |
tree | d673fa90f961dc743634330e431fadf58ca98b8b /libstdc++-v3/ChangeLog | |
parent | 3369eb761be13d67e0c1e331eb2e900de4efaf91 (diff) | |
download | gcc-b321a57a315097c60d058fb02bc13d847ecac880.tar.gz |
2006-12-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* c.opt (Wempty-body): New.
* doc/invoke.texi (Wempty-body): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-common.c (empty_body_warning): Replace Wextra with Wempty-body.
* c-parser.c (c_parser_c99_block_statement): Likewise.
testsuite/
* gcc.dg/20001116-1.c: Replace -Wextra with -Wempty-body.
* gcc.dg/if-empty-1.c: Likewise.
* gcc.dg/pr23165.c: Likewise.
* g++.dg/warn/empty-body.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/ChangeLog')
0 files changed, 0 insertions, 0 deletions