This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Revamp fortran array types
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.