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++/42466] Multiple instantiations of template constructor fail



------- 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


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