Re: [PATCH] c++/modules: Fix exporting temploid friends in header units [PR118582]

2025-01-22 Thread Jason Merrill
On 1/22/25 6:30 AM, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? OK. -- >8 -- When we started streaming the bit to handle merging of imported temploid friends in r15-2807, I unthinkingly only streamed it in the '!state->is_header ()' case. This pat

[PATCH] c++/modules: Fix exporting temploid friends in header units [PR118582]

2025-01-22 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? -- >8 -- When we started streaming the bit to handle merging of imported temploid friends in r15-2807, I unthinkingly only streamed it in the '!state->is_header ()' case. This patch reworks the streaming logic to ensure that this d