-fargument-noalias-global question

Toon Moene toon@moene.org
Sat Jan 3 22:33:00 GMT 2009


Steve Kargl wrote:

> I have no idea what you and Toon are discussing.  These 
> options are not used in the gfortran frontend and have never
> been used.  Looking at the g77 manual suggests that 
> -fargument-noalias-global is a holdover from g77, and as such
> it should be removed.
> 
> It is the Fortran programmer's responsibility to properly 
> address possible aliasing issues.

We are discussing how the GCC middle end can best implement the 
restrictions the Fortran language puts on the programmer to prevent 
aliasing (i.e., having two or more names pointing to the same memory).

One of the more important restrictions is that two dummy arguments to a 
subprogram cannot point to the same memory if one is written to.

I hope this helps,

-- 
Toon Moene - e-mail: toon@moene.org (*NEW*) - 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.4/changes.html



More information about the Fortran mailing list