Hi Tobias > OK (with the correct testcase you posted later). I think the algorithm > is cleaner with this patch than the current "sym->ns = gfc_current_ns;" > - besides the fact that it fixes this PR. Thanks, > > Thanks - it also allows multiple importation of the same symbol. Paul