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: PR c++/28301: [4.3/4.4/4.5 regression] ICE with broken specialization


On Tue, Mar 31, 2009 at 10:36 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> When we see an error, we shouldn't skip to the the end of block or
> statement if we are already at the end of block or statement. OK
> for trunk, 4.4 and 4.3 if there are no regressions.
>
> Thanks.
>
> H.J.
> ---
> gcc/cp/
>
> 2009-03-31 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?PR c++/28301
> ? ? ? ?* parser.c (cp_parser_single_declaration): Don't skip to
> ? ? ? ?the end of block or statement on error when the next token
> ? ? ? ?is '}'.
>
> gcc/testsuite/
>
> 2009-03-31 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?PR c++/28301
> ? ? ? ?* g++.dg/template/pr28301.C: New.

Hi Jason,

Is this patch OK for 4.4 and trunk?

http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01797.html

Thanks.


-- 
H.J.


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