commit | 1a8996b0a7b238180f4a10b19b1e90b33e5b2df0 | [log] [tgz] |
---|---|---|
author | Jason Merrill <jason@redhat.com> | Wed Feb 26 13:03:23 2020 -0500 |
committer | Jason Merrill <jason@redhat.com> | Wed Feb 26 14:09:03 2020 -0500 |
tree | f8212127cb2f9dc0093b5d7e21922006edea5883 | |
parent | b6678d67c4b7471c25130b6c60a9087e02f31179 [diff] |
c++: Fix decltype of empty pack expansion of parm. In unevaluated context, we only substitute a single PARM_DECL, not the entire chain, but the handling of an empty pack expansion was missing that check. gcc/cp/ChangeLog 2020-02-26 Jason Merrill <jason@redhat.com> PR c++/93140 * pt.c (tsubst_decl) [PARM_DECL]: Check cp_unevaluated_operand in handling of TREE_CHAIN for empty pack.