This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]