[patch,gfortran] PR 20541: ALLOCATABLE components of derived types

Erik Edelmann erik.edelmann@iki.fi
Wed Sep 28 12:26:00 GMT 2005


erik.edelmann@iki.fi wrote:
> Richard.Maine@nasa.gov wrote:
> > >tobias.schlueter@physik.uni-muenchen.de wrote:
> > >>Your patch implements only a small part of what's needed for TR 
> > >>15581's
> > >>semantics for derived type components..
> > >
> > >Damn.  It seems to be more work than I had thought.
> > 
> > From my "outside" viewpoint of not being a compiler developer, I'd say 
> > that getting the TR completely implemented and working seems to be 
> > quite a bit of work (and I think more than most people anticipated). 
> 
> If I understand it correctly, the TR contains more than just
> allocatable components of derived types (allocatable dummies for
> exemple).  At the moment I don't intend to implement more than
> the allocatable components of derived types part.

On the other hand, that might mean that derived types with allocatable
components couldn't be used as dummy arguments or function
results, which would restrict their usage quite a lot.  I'll have
to think about it.


        Erik



More information about the Fortran mailing list