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++/14622] type mismatch in explicit template instantiation not detected



------- Comment #3 from simartin at gcc dot gnu dot org  2007-02-12 22:17 -------
Subject: Bug 14622

Author: simartin
Date: Mon Feb 12 22:17:06 2007
New Revision: 121864

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121864
Log:
PR c++/14622
* pt.c (do_decl_instantiation): Detect type mismatches in explicit
instantiations for variables.

Added:
    trunk/gcc/testsuite/g++.dg/template/instantiate9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.old-deja/g++.pt/instantiate12.C


-- 


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


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