Re: [PATCH] c++: NTTP constraint depending on outer args [PR109160]

2023-04-01 Thread Patrick Palka via Gcc-patches
On Wed, 29 Mar 2023, Jason Merrill wrote: > On 3/17/23 11:26, Patrick Palka wrote: > > Here we're crashing during satisfaction for the NTTP 'C auto' from > > do_auto_deduction ultimately because convert_template_argument / unify > > don't pass all outer template arguments to do_auto_deduction, and

Re: [PATCH] c++: NTTP constraint depending on outer args [PR109160]

2023-03-29 Thread Jason Merrill via Gcc-patches
On 3/17/23 11:26, Patrick Palka wrote: Here we're crashing during satisfaction for the NTTP 'C auto' from do_auto_deduction ultimately because convert_template_argument / unify don't pass all outer template arguments to do_auto_deduction, and during satisfaction we need to know all arguments. Wh

Re: [PATCH] c++: NTTP constraint depending on outer args [PR109160]

2023-03-27 Thread Patrick Palka via Gcc-patches
On Fri, Mar 17, 2023 at 11:26 AM Patrick Palka wrote: > > Here we're crashing during satisfaction for the NTTP 'C auto' from > do_auto_deduction ultimately because convert_template_argument / unify > don't pass all outer template arguments to do_auto_deduction, and during > satisfaction we need to

Re: [PATCH] c++: NTTP constraint depending on outer args [PR109160]

2023-03-17 Thread Patrick Palka via Gcc-patches
On Fri, 17 Mar 2023, Patrick Palka wrote: > Here we're crashing during satisfaction for the NTTP 'C auto' from > do_auto_deduction ultimately because convert_template_argument / unify > don't pass all outer template arguments to do_auto_deduction, and during > satisfaction we need to know all argu

[PATCH] c++: NTTP constraint depending on outer args [PR109160]

2023-03-17 Thread Patrick Palka via Gcc-patches
Here we're crashing during satisfaction for the NTTP 'C auto' from do_auto_deduction ultimately because convert_template_argument / unify don't pass all outer template arguments to do_auto_deduction, and during satisfaction we need to know all arguments. While these callers do pass some outer argu