summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/sql
diff options
context:
space:
mode:
authormueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-14 19:33:17 +0000
committermueller <mueller@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-14 19:33:17 +0000
commitffe8fd56ff81e2ec9913458c3787d534970dc685 (patch)
tree6eaa29a86e707ec20730717f602d38ed322cf784 /libjava/classpath/java/sql
parent0a6b5f6b02d7417cf1267d62c8cd6a6a9cc0774f (diff)
downloadppe42-gcc-ffe8fd56ff81e2ec9913458c3787d534970dc685.tar.gz
ppe42-gcc-ffe8fd56ff81e2ec9913458c3787d534970dc685.zip
2007-03-14 Dirk Mueller <dmueller@suse.de>
* c-common.h (empty_body_warning): Rename to empty_if_body_warning. * c-common.c (empty_if_body_warning): Rephrase diagnostic message. * c-parser.c (c_parser_if_body): Always add an empty statement in case of empty body. * c-parser.c (c_parser_do_statement): Warn about empty body in do/while statement. * c-typeck (c_finish_if_stmt): Call empty_if_body_warning. * doc/invoke.texi (-Wempty-body): Update documentation. * cp/semantics.c (c_finish_if_stmt): Call empty_if_body_warning. (finish_do_body): Warn about empty body in do/while statement. * g++.dg/warn/do-empty.C: New. * gcc.dg/do-empty.c: New. * gcc.dg/if-empty-1.c: Update. * gcc.dg/20001116-1.c: Update. * gcc.dg/pr23165.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud