This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42466] Multiple instantiations of template constructor fail
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2009 23:17:05 -0000
- Subject: [Bug c++/42466] Multiple instantiations of template constructor fail
- References: <bug-42466-18595@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jason at gcc dot gnu dot org 2009-12-22 23:17 -------
Subject: Bug 42466
Author: jason
Date: Tue Dec 22 23:16:46 2009
New Revision: 155411
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155411
Log:
PR c++/42466
* pt.c (reduce_template_parm_level): Check the type before
returning cached TEMPLATE_PARM_INDEX.
Added:
trunk/gcc/testsuite/g++.dg/template/nontype19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42466