This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14622] type mismatch in explicit template instantiation not detected
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Feb 2007 22:17:17 -0000
- Subject: [Bug c++/14622] type mismatch in explicit template instantiation not detected
- References: <bug-14622-1824@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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