Re: [PATCH] c++: reference variable as default targ [PR101463]

2024-11-05 Thread Jason Merrill
bject: [PATCH] c++: reference variable as default targ [PR101463] Here during default template argument substitution we wrongly consider the (substituted) default arguments v and vt as value-dependent[1] which ultimately leads to deduction failure for the calls. The bogus value_dependent_expression_p

Re: [PATCH] c++: reference variable as default targ [PR101463]

2024-11-05 Thread Patrick Palka
> dependence check when we know all previous arguments are non-dependent > seems safer, and we can simplify it a bit even. > > What do you think about backporting the following in order to fix 101463 > on the release branches? Bootstrappped and regtested on > x86_64-pc-lin

Re: [PATCH] c++: reference variable as default targ [PR101463]

2024-10-22 Thread Patrick Palka
ng in order to fix 101463 on the release branches? Bootstrappped and regtested on x86_64-pc-linux-gnu on the 14 branch. -- >8 -- Subject: [PATCH] c++: reference variable as default targ [PR101463] Here during default template argument substitution we wrongly consider the (s

Re: [PATCH] c++: reference variable as default targ [PR101463]

2024-01-09 Thread Jason Merrill
On 1/5/24 15:01, Patrick Palka wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- Here during default template argument substitution we wrongly consider the (substituted) default arguments v and vt as value-dependent[1] which ultimately leads to dedu

[PATCH] c++: reference variable as default targ [PR101463]

2024-01-05 Thread Patrick Palka
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- Here during default template argument substitution we wrongly consider the (substituted) default arguments v and vt as value-dependent[1] which ultimately leads to deduction failure for the calls. The bogus