Re: [PATCH] c++: outer args for level-lowered ttp [PR109651]

2023-05-04 Thread Jason Merrill via Gcc-patches
On 4/28/23 08:54, Patrick Palka wrote: On Thu, 27 Apr 2023, Patrick Palka wrote: On Thu, Apr 27, 2023 at 4:46 PM Patrick Palka wrote: Now that with r14-11-g2245459c85a3f4 made us coerce the template arguments of a bound ttp again after level-lowering, this unfortunately causes a crash from

Re: [PATCH] c++: outer args for level-lowered ttp [PR109651]

2023-05-04 Thread Patrick Palka via Gcc-patches
On Fri, Apr 28, 2023 at 8:54 AM Patrick Palka wrote: > > On Thu, 27 Apr 2023, Patrick Palka wrote: > > > On Thu, Apr 27, 2023 at 4:46 PM Patrick Palka wrote: > > > > > > Now that with r14-11-g2245459c85a3f4 made us coerce the template > > > arguments of a bound ttp again after level-lowering,

Re: [PATCH] c++: outer args for level-lowered ttp [PR109651]

2023-04-28 Thread Patrick Palka via Gcc-patches
On Thu, 27 Apr 2023, Patrick Palka wrote: > On Thu, Apr 27, 2023 at 4:46 PM Patrick Palka wrote: > > > > Now that with r14-11-g2245459c85a3f4 made us coerce the template > > arguments of a bound ttp again after level-lowering, this unfortunately > > causes a crash from

Re: [PATCH] c++: outer args for level-lowered ttp [PR109651]

2023-04-27 Thread Patrick Palka via Gcc-patches
On Thu, Apr 27, 2023 at 4:46 PM Patrick Palka wrote: > > Now that with r14-11-g2245459c85a3f4 made us coerce the template > arguments of a bound ttp again after level-lowering, this unfortunately > causes a crash from coerce_template_args_for_ttp in the below testcase. > > During the

[PATCH] c++: outer args for level-lowered ttp [PR109651]

2023-04-27 Thread Patrick Palka via Gcc-patches
Now that with r14-11-g2245459c85a3f4 made us coerce the template arguments of a bound ttp again after level-lowering, this unfortunately causes a crash from coerce_template_args_for_ttp in the below testcase. During the level-lowering substitution T=int into the bound ttp TT as part of