This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29729] [4.0/4.1 regression] ICE with template class in template function
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2006 21:05:13 -0000
- Subject: [Bug c++/29729] [4.0/4.1 regression] ICE with template class in template function
- References: <bug-29729-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-12-06 21:05 -------
Subject: Bug 29729
Author: mmitchel
Date: Wed Dec 6 21:04:52 2006
New Revision: 119597
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119597
Log:
PR c++/29729
* decl2.c (check_member_template): Move check for member
templates in local classes to ...
* parser.c (cp_parser_template_declaration_after_export):
... here.
PR c++/29729
* g++.dg/template/crash63.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash63.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl2.c
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29729