Re: [PATCH] c++: Fix tsubsting member variable template-id [PR96330]

2021-03-05 Thread Jason Merrill via Gcc-patches
On 3/5/21 1:04 PM, Patrick Palka wrote: This makes tsubst_copy appropriately handle a variable template-id, which in turn fixes tsubsting a COMPONENT_REF whose member operand is known at parse time to be a variable template-id, as in the initialization of 'x' in the first testcase. Previously, w

[PATCH] c++: Fix tsubsting member variable template-id [PR96330]

2021-03-05 Thread Patrick Palka via Gcc-patches
This makes tsubst_copy appropriately handle a variable template-id, which in turn fixes tsubsting a COMPONENT_REF whose member operand is known at parse time to be a variable template-id, as in the initialization of 'x' in the first testcase. Previously, we rejected this testcase with the error "f