PRIVATE symbol in PUBLIC namelist

Paul Richard Thomas paul.richard.thomas@gmail.com
Thu Jun 28 07:02:00 GMT 2007


Janus,

You have found a bug.  Logic and Lahey say that it is.

I cannot access a gfortran source today but, if you were to grep part
of the error message, in the fortran source, you would find out where
it is coming from.  Then, in addition to checking if the symbol is
private, you then need to check if the symbol is use associated (ie.
if (sym->attr.private && sym->attr.use_assoc).  This should yield the
correct behaviour.

I suggest that you submit a PR and fix it:-)

Paul

-- 
I love deadlines. I love the whooshing sound they make as they go by.
--Douglas Adams



More information about the Fortran mailing list