r124534 - in /trunk/gcc: ChangeLog cp/ChangeLog...
mrs@gcc.gnu.org
mrs@gcc.gnu.org
Tue May 8 01:31:00 GMT 2007
Author: mrs
Date: Tue May 8 01:31:24 2007
New Revision: 124534
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124534
Log:
* doc/invoke.texi (Warning Options): Document that -Wempty-body
also checks for and while statements in C++.
cp:
* parser.c (check_empty_body): Add.
(cp_parser_iteration_statement): Add call to check_empty_body.
testsuite:
* g++.old-deja/g++.mike/empty.C: Add.
Added:
trunk/gcc/testsuite/g++.old-deja/g++.mike/empty.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list