[Bug c++/71833] [4.9/5/6/7 regression] ICE on valid C++11 code with nested variadic templates: tree check: accessed elt 0 of tree_vec with 1 elts in coerce_template_parameter_pack, at cp/pt.c:7439
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 25 19:18:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71833
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jul 25 19:17:43 2016
New Revision: 238734
URL: https://gcc.gnu.org/viewcvs?rev=238734&root=gcc&view=rev
Log:
PR c++/71833 - member template with two parameter packs
* pt.c (coerce_template_parameter_pack): Fix logic for
pack index.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/variadic-nested1.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list