RFA: Revamp fortran array types

Michael Matz matz@suse.de
Wed Aug 19 13:39:00 GMT 2009


Hi,

On Wed, 19 Aug 2009, Toon Moene wrote:

> > It would be really good if somebody could check with the fortran gods 
> > if this is or isn't the case.
> 
> I tend to put it this way (note that the Standard is mostly about 
> restrictions on what *programmers* can do, not what the compiler is 
> required to do):
> 
> Two names must not refer to the same or overlapping storage unless you, 
> the programmer, indicate that they do (by either using EQUIVALENCE or 
> designating the storage with the TARGET attribute).

Right, that is exactly my mind model too (with the addition that if there 
are multiple names to TARGET storage, at most one of these names can be a 
non-POINTER).


Ciao,
Michael.



More information about the Gcc-patches mailing list