Hi Paul,
I felt sure that an equivalent of gfc_find_symbol_by_name had already been introduced in another context but I am blowed if I can find it. It might just be that I did the same for an as yet unfielded patch.
I also felt sure that something like that existed and looked for it, but in vain.
In any case, this looks fine to me and is OK to apply to trunk.
Committed. Thanks for the review!
Best regards
Thomas
