This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: assumed shape dummy arrays and implicit interfaces
- From: THOMAS Paul Richard 169137 <prthomas at drfccad dot cea dot fr>
- To: 'Tobias Schlüter' <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Wed, 14 Sep 2005 08:52:20 +0200
- Subject: Re: assumed shape dummy arrays and implicit interfaces
Tobi,
> I guess that the example is not implementable (nor is a compile time
check!)
> but the standard does not disallow it, as far as I can tell. I would be
happy
> if somebody could point me to the place where it is forbidden. My
inclination
> is to add a runtime check to see if the assigned memory has the gfortran
magic
> bootprint; if not, we emit an error like the others. How do we assure that
> assumed shape dummys are not put on the stack?
Ignore the last two sentences - they are rubbish.
Why do we not always pass array descriptors? Come to that, why do we not
store arrays as structures, rather than recreating descriptors all the time?
Paul T