RFA: Revamp fortran array types
Toon Moene
toon@moene.org
Wed Aug 19 12:59:00 GMT 2009
Michael Matz wrote:
[ aliasing in Fortran ]
> 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).
HTH,
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html
More information about the Gcc-patches
mailing list