This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38543] [C++0x] Cannot specialize variadic template function
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Apr 2012 02:29:54 +0000
- Subject: [Bug c++/38543] [C++0x] Cannot specialize variadic template function
- Auto-submitted: auto-generated
- References: <bug-38543-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38543
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-17 02:29:54 UTC ---
Author: jason
Date: Tue Apr 17 02:29:51 2012
New Revision: 186522
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186522
Log:
PR c++/38543
* pt.c (determine_specialization): Instead of comparing the number
of parms, check that tsubst gives the right answer.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic131.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog