aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-03-14 17:10:39 -0400
committerJason Merrill <jason@redhat.com>2020-03-14 17:13:25 -0400
commitc393c99d3dc8329dc1a36011e70faa9700185051 (patch)
tree69fa9d705775291835c3d9c8a1968d3b8fbeeaeb /gcc/tree-inline.c
parent6e5084b44016113f2c6950be8782d8c84397ef4b (diff)
downloadgcc-c393c99d3dc8329dc1a36011e70faa9700185051.zip
gcc-c393c99d3dc8329dc1a36011e70faa9700185051.tar.gz
gcc-c393c99d3dc8329dc1a36011e70faa9700185051.tar.bz2
c++: Fix CTAD with multiple-arg ctor template [93248].
When cp_unevaluated_operand is set, tsubst_decl thinks that if it sees a PARM_DECL that isn't already in local_specializations, we're in a decltype in a trailing return type or some such, and so we only want a substitution for a single PARM_DECL. In this case, we want the whole chain, so make sure cp_unevaluated_operand is cleared. gcc/cp/ChangeLog 2020-03-14 Jason Merrill <jason@redhat.com> PR c++/93248 * pt.c (build_deduction_guide): Clear cp_unevaluated_operand for substituting DECL_ARGUMENTS.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions