Re: [PATCH] c++: template-id dependence wrt local static arg [PR117792]

2025-01-08 Thread Jason Merrill
On 11/27/24 12:29 PM, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14/13? OK. -- >8 -- Here we end up ICEing at instantiation time for the call to f ultimately because we wrongly consider the call to be non-dependent, and so we specializ

Re: [PATCH] c++: template-id dependence wrt local static arg [PR117792]

2025-01-08 Thread Patrick Palka
On Wed, Dec 11, 2024 at 10:19 AM Patrick Palka wrote: > > On Wed, 27 Nov 2024, Patrick Palka wrote: > > > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK > > for trunk/14/13? > > Ping. Ping. > > It occurred to me that another way to fix this PR might be to tweak the > overlo

Re: [PATCH] c++: template-id dependence wrt local static arg [PR117792]

2024-12-11 Thread Patrick Palka
On Wed, 27 Nov 2024, Patrick Palka wrote: > Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK > for trunk/14/13? Ping. It occurred to me that another way to fix this PR might be to tweak the overload set pruning (for non-dependent calls) to un-specialize the selected function

[PATCH] c++: template-id dependence wrt local static arg [PR117792]

2024-11-27 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk/14/13? -- >8 -- Here we end up ICEing at instantiation time for the call to f ultimately because we wrongly consider the call to be non-dependent, and so we specialize f ahead of time and then get confused when fully s