2012/11/27 Tobias Burnus <bur...@net-b.de>: > The problem is that the symbol gets the host-associated flag as soon as it > is host associated even in the host's namespace. Solution: Test additionally > whether they have been declared in the same namespace. > > (I wonder whether there is a case where the host-association is attr is set > and the namespace is different but the pointer won't outlive the target. I > tried to create such a test case in the PR – and failed. I think it is not > possible BLOCK or a module variable; and as there is only a single level of > nesting, I think the attached patch is correct.) > > Bootstrapped and regtested on x86-64-gnu-linux. > OK for the trunk?
Yes, looks good. Thanks for the patch! Cheers, Janus