[patch] Fix aliasing problem with fortran

Paul Brook paul@codesourcery.com
Tue May 17 00:29:00 GMT 2005


On Tuesday 17 May 2005 01:22, Zdenek Dvorak wrote:
> > It might not occur now, but I guess it could if we start passing
> > alias information down from trees to rtl.
>
> This might be the case; if so, the types would have to be shared
> completely to avoid this problem.

I'm not sure this is even possible.  Can't we tweak the alias analysis to say 
that these types can alias? I'm fairly sure the C frontends do this for 
structs with the same initial members.

Paul



More information about the Fortran mailing list