This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Some questions about gfortran.
On Mon, Jun 27, 2005 at 12:05:39PM -0400, Julien Lancien wrote:
> Nobody has a clue on this, or can redirect me to another mailing list
> where I should ask this question ?
(Please, do not top post! It loses context.)
> > * cross reference types , ie :
> >
> > type a
> > type(b), pointer :: b
> > end type a
> >
> > type b
> > type(a), pointer :: a
> > end type a
end type b
> > * using function result as argument, ie
> >
> > test = associated(getpointer(p))
> >
> > This will end up with :
> >
> > Internal Error at (1):
> > gfc_variable_attr(): Expression isn't a variable
> >
> > Whereas doing that works :
> >
> > tmp => getpointer(p)
> > test = associated(tmp)
> >
I would need to see actual code. Preferably a short subroutine
or program.
For general Fortran questions, I would recommend comp.lang.fortran
newsgroup.
--
Steve