[Bug c++/39425] [4.2/4.3/4.4 Regression] gcc loops after reporting template instantiation errors
hjl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 18 15:01:00 GMT 2009
------- Comment #5 from hjl at gcc dot gnu dot org 2009-03-18 15:00 -------
Subject: Bug 39425
Author: hjl
Date: Wed Mar 18 15:00:32 2009
New Revision: 144933
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144933
Log:
gcc/cp/
2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
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>
Backport from mainline:
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:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/pr39425.C
- copied unchanged from r144932,
trunk/gcc/testsuite/g++.dg/template/pr39425.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
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/template/spec33.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39425
More information about the Gcc-bugs
mailing list