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 variables are vague linkage just like template instantiations, so the bug seems to be that import_export_decl doesn't accept them. And on the other side, that make_rtl_for_nonlocal_decl doesn't defer them like instantations.

Jason

Reply via email to