[Bug c++/45012] Invalid ambiguity on partial class specialization matching
ramana at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 16:11:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45012
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
--- Comment #6 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-11-17 16:03:34 UTC ---
It was fixed actually by this commit .
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
More information about the Gcc-bugs
mailing list