Re: [PATCH] c++/modules: Finalise non-local imported vars [PR113708]

2024-02-13 Thread Jason Merrill
On 2/11/24 08:26, Nathaniel Shead wrote: Currently inline vars imported from modules aren't correctly finalised, which means that import_export_decl gets called at the end of TU processing despite not being meant to for these kinds of declarations. I disagree that it's not meant to; inline

[PATCH] c++/modules: Finalise non-local imported vars [PR113708]

2024-02-11 Thread Nathaniel Shead
Bootstrapped and regtested (just modules.exp so far) on x86_64-pc-linux-gnu, OK for trunk if full regtest succeeds? -- >8 -- Currently inline vars imported from modules aren't correctly finalised, which means that import_export_decl gets called at the end of TU processing despite not being meant