This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60374] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid template specialization
- 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, 01 Apr 2014 21:25:53 +0000
- Subject: [Bug c++/60374] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid template specialization
- Auto-submitted: auto-generated
- References: <bug-60374-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60374
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 1 21:25:20 2014
New Revision: 208999
URL: http://gcc.gnu.org/viewcvs?rev=208999&root=gcc&view=rev
Log:
PR c++/60374
* pt.c (coerce_template_parms): Check that the pack expansion
pattern works with the first matching parameter.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/variadic154.C
trunk/gcc/testsuite/g++.dg/cpp0x/variadic155.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c