This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48451] [C++0x][SFINAE] Failures with n-ary initialization expressions (with template default argument)
- 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: Fri, 8 Apr 2011 02:03:49 +0000
- Subject: [Bug c++/48451] [C++0x][SFINAE] Failures with n-ary initialization expressions (with template default argument)
- Auto-submitted: auto-generated
- References: <bug-48451-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48451
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-08 02:03:29 UTC ---
Author: jason
Date: Fri Apr 8 02:03:25 2011
New Revision: 172159
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172159
Log:
PR c++/48451
* pt.c (fn_type_unification): Don't clear incomplete pack flag.
(type_unification_real): Clear it here instead.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic107.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog