------- Comment #14 from burnus at gcc dot gnu dot org  2010-07-08 19:57 -------
(In reply to comment #12)
> That is the context - apply it and see.

I saw it now (the comment was a bit misleading - the comment combines the outer
check with the succeeding check).

On the way home, I was wondering how one can fix it for the case of
host-associating the variable in some but not in all procedures. My feeling was
that a linked list in the function's gfc_symbol would be best as this also will
work in case of submodules (if one initializes the variable with "UNKOWN")
whereas saving this information as linked list in the host variable makes it
more difficult for submodules.

Actually, your patch also does not work with submodules - maybe you should add
a TODO/FIXME pointing to submodules - to make sure we don't forget this, when
we implement submodules.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44773

Reply via email to