Re: [PATCH] c++: Fix self-mapping in map_arguments [PR96531, PR97103]

2020-09-18 Thread Jason Merrill via Gcc-patches
On 9/18/20 8:42 PM, Patrick Palka wrote: On Fri, 18 Sep 2020, Patrick Palka wrote: On Fri, 18 Sep 2020, Jason Merrill wrote: On 9/18/20 4:07 PM, Patrick Palka wrote: With r10-8077 we stopped passing the argified current_template_parms to normalize_constraint_expression from finish_nested_req

Re: [PATCH] c++: Fix self-mapping in map_arguments [PR96531, PR97103]

2020-09-18 Thread Patrick Palka via Gcc-patches
On Fri, 18 Sep 2020, Patrick Palka wrote: > On Fri, 18 Sep 2020, Jason Merrill wrote: > > > On 9/18/20 4:07 PM, Patrick Palka wrote: > > > With r10-8077 we stopped passing the argified current_template_parms to > > > normalize_constraint_expression from finish_nested_requirement, and > > > instea

Re: [PATCH] c++: Fix self-mapping in map_arguments [PR96531, PR97103]

2020-09-18 Thread Patrick Palka via Gcc-patches
On Fri, 18 Sep 2020, Jason Merrill wrote: > On 9/18/20 4:07 PM, Patrick Palka wrote: > > With r10-8077 we stopped passing the argified current_template_parms to > > normalize_constraint_expression from finish_nested_requirement, and > > instead tweaked map_arguments to perform a self-mapping of pa

Re: [PATCH] c++: Fix self-mapping in map_arguments [PR96531, PR97103]

2020-09-18 Thread Jason Merrill via Gcc-patches
On 9/18/20 4:07 PM, Patrick Palka wrote: With r10-8077 we stopped passing the argified current_template_parms to normalize_constraint_expression from finish_nested_requirement, and instead tweaked map_arguments to perform a self-mapping of parameters when args is NULL. We're currently not handli