r138838 - in /branches/gcc-4_3-branch/gcc: cp/C...
simonb@gcc.gnu.org
simonb@gcc.gnu.org
Thu Aug 7 12:27:00 GMT 2008
Author: simonb
Date: Thu Aug 7 12:27:48 2008
New Revision: 138838
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138838
Log:
gcc/cp/ChangeLog:
Backport from mainline:
2008-08-04 Simon Baldwin <simonb@google.com>
PR c++/36999
* parser.c (cp_parser_elaborated_type_specifier): Warn only when
the declaration's id is followed by a semicolon.
gcc/testsuite/ChangeLog:
Backport from mainline:
2008-08-04 Simon Baldwin <simonb@google.com>
PR c++/36999
* g++.dg/warn/pr36999.C: New.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/warn/pr36999.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/parser.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list