public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PING: PATCH: PR c++/39425: [4.2/4.3/4.4 Regression] gcc loops after   reporting template instantiation errors
@ 2009-03-17 17:15 H.J. Lu
  2009-03-18 15:18 ` Jason Merrill
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2009-03-17 17:15 UTC (permalink / raw)
  To: Jason Merrill; +Cc: gcc-patches

On Wed, Mar 11, 2009 at 1:31 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> When we skip the rest of the specialization on error, we may wind up in
> a deeper hole.  This patch removes cp_parser_skip_to_end_of_block_or_statement
> on error.  Tested on Linux/Intel64.  OK for trunk and 4.3?
>
> Thanks.
>
>
> H.J.
> ----
> gcc/cp/
>
> 2009-03-11  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR c++/39425
>        * parser.c (cp_parser_explicit_specialization): Don't skip the
>        rest of the specialization when begin_specialization returns
>        false.
>
> gcc/testsuite/
>
> 2009-03-11  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR c++/39425
>        * g++.dg/template/pr39425.C: New.
>
>        * g++.dg/template/spec33.C: Updated.
>

Hi Jason,

Can you take a look at this patch:

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

Thanks.


-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PING: PATCH: PR c++/39425: [4.2/4.3/4.4 Regression] gcc loops  after  reporting template instantiation errors
  2009-03-17 17:15 PING: PATCH: PR c++/39425: [4.2/4.3/4.4 Regression] gcc loops after reporting template instantiation errors H.J. Lu
@ 2009-03-18 15:18 ` Jason Merrill
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Merrill @ 2009-03-18 15:18 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc-patches

OK.

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-18 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-17 17:15 PING: PATCH: PR c++/39425: [4.2/4.3/4.4 Regression] gcc loops after reporting template instantiation errors H.J. Lu
2009-03-18 15:18 ` Jason Merrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).