This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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]

Re: [PATCH, gcc-4_3-branch] Backport PR36999 fix to 4.3 branch


simonb@google.com (Simon Baldwin) writes:

> gcc/cp/ChangeLog:
> 2008-08-06  Simon Baldwin  <simonb@google.com>
>
> 	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:
> 2008-08-06  Simon Baldwin  <simonb@google.com>
>
> 	Backport from mainline:
> 	2008-08-04  Simon Baldwin  <simonb@google.com>
>
> 	PR c++/36999
> 	* g++.dg/warn/pr36999.C: New.

OK for 4.3 branch.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]