This is the mail archive of the gcc-bugs@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]

[Bug c++/39425] [4.2/4.3/4.4 Regression] gcc loops after reporting template instantiation errors



------- Comment #4 from hjl at gcc dot gnu dot org  2009-03-18 14:57 -------
Subject: Bug 39425

Author: hjl
Date: Wed Mar 18 14:56:45 2009
New Revision: 144932

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144932
Log:
gcc/cp/

2009-03-18  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-18  H.J. Lu  <hongjiu.lu@intel.com>

        PR c++/39425
        * g++.dg/template/pr39425.C: New.

        * g++.dg/template/spec33.C: Updated.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr39425.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/spec33.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39425


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