[Bug c++/38543] [C++0x] Cannot specialize variadic template function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 17 14:13:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38543
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-17 14:11:43 UTC ---
Author: jason
Date: Tue Apr 17 14:11:34 2012
New Revision: 186533
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186533
Log:
PR c++/38543
* pt.c (determine_specialization): Instead of comparing the number
of parms, check that tsubst gives the right answer.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/variadic131.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/pt.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list