This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa][attn: fortran] propagate addresses of local variables


On Sun, Oct 12, 2003 at 10:53:42PM +0100, Paul Brook wrote:
> I was wondering if this might end up being a problem. I'll see about fixing 
> it when I get chance.

Thanks.

> In order to do these properly we really need support for discontiguous 
> ARRAY_TYPE nodes. 	I.e. these would need to work for the case where
> a[n+1] - a[n] != sizeof(a[n])

If you can describe the qualities that you need, I expect that we can
come up with a new type node (or somehow special-case ARRAY_TYPE) to 
match your needs.

> I'm somewhat reluctant to implement one method for the simple cases, and 
> annother for everything else. Maybe some discussion is needed on if/how 
> GENERIC could be made to do what we want.

I think that there may be some of this necessary.  But perhaps we can
hide it all in one place.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]