http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45102
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-27 02:13:06 UTC --- Author: jason Date: Tue Sep 27 02:13:00 2011 New Revision: 179230 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179230 Log: PR c++/45102 * pt.c (tsubst_copy_and_build) [CONST_DECL]: Don't pull out constant value if we're still in a template. Added: trunk/gcc/testsuite/g++.dg/template/partial13.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog