re PR c++/81957 (ICE decltype)
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 3 Nov 2017 00:13:06 +0000 (00:13 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 3 Nov 2017 00:13:06 +0000 (00:13 +0000)
commitd5f0b3f0bbd96630f8b61536b65d2565e882340d
treef22b4ba4c1fa6ffe3bfc674bd9be70ccad197c87
parent718afa1acdb7bb247fe69995f3939ed26ab43a42
re PR c++/81957 (ICE decltype)

/cp
2017-11-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/81957
* pt.c (make_pack_expansion): Add tsubst_flags_t parameter.
(expand_integer_pack, convert_template_argument, coerce_template_parms,
gen_elem_of_pack_expansion_instantiation, tsubst_pack_expansion,
unify): Adjust calls.
* tree.c (cp_build_qualified_type_real): Likewise.
* cp-tree.h (make_pack_expansion): Adjust declaration.

/testsuite
2017-11-02  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/81957
* g++.dg/cpp0x/variadic-crash5.C: New.

From-SVN: r254361
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/variadic-crash5.C [new file with mode: 0644]