Re: [PATCH 1/2] c++: Tolerate empty initial targs during normalization [PR97412]

2020-10-29 Thread Jason Merrill via Gcc-patches
On 10/29/20 11:21 AM, Patrick Palka wrote: On Mon, 19 Oct 2020, Patrick Palka wrote: When normalizing the constraint-expression of a nested-requirement, we pass NULL_TREE as the initial template arguments for normalization, but tsubst_argument_pack is not prepared to handle a NULL_TREE targ vec

Re: [PATCH 1/2] c++: Tolerate empty initial targs during normalization [PR97412]

2020-10-29 Thread Patrick Palka via Gcc-patches
On Mon, 19 Oct 2020, Patrick Palka wrote: > When normalizing the constraint-expression of a nested-requirement, we > pass NULL_TREE as the initial template arguments for normalization, but > tsubst_argument_pack is not prepared to handle a NULL_TREE targ vector. > This causes us to ICE when normal

[PATCH 1/2] c++: Tolerate empty initial targs during normalization [PR97412]

2020-10-19 Thread Patrick Palka via Gcc-patches
When normalizing the constraint-expression of a nested-requirement, we pass NULL_TREE as the initial template arguments for normalization, but tsubst_argument_pack is not prepared to handle a NULL_TREE targ vector. This causes us to ICE when normalizing a variadic concept as part of a nested-requir