Re: [PATCH] c++: more overeager use of deleted function before ADL [PR119034]

2025-02-28 Thread Jason Merrill
On 2/27/25 4:51 PM, Patrick Palka wrote: Tested on x86_64-pc-linux-gnu, does this look OK for stage 1? Yes. -- >8 -- The PR68942 fix used the tf_conv flag to disable mark_used when substituting a FUNCTION_DECL callee of an ADL-enabled call. In this slightly more elaborate testcase, we end u

[PATCH] c++: more overeager use of deleted function before ADL [PR119034]

2025-02-27 Thread Patrick Palka
Tested on x86_64-pc-linux-gnu, does this look OK for stage 1? -- >8 -- The PR68942 fix used the tf_conv flag to disable mark_used when substituting a FUNCTION_DECL callee of an ADL-enabled call. In this slightly more elaborate testcase, we end up prematurely calling mark_used anyway on the FUNCT