This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa][attn: fortran] propagate addresses of local variables
- From: Richard Henderson <rth at redhat dot com>
- To: Paul Brook <paul at nowt dot org>
- Cc: Richard Henderson <rth at twiddle dot net>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 12 Oct 2003 16:14:14 -0700
- Subject: Re: [tree-ssa][attn: fortran] propagate addresses of local variables
- References: <20031012203554.GA18348@twiddle.net> <200310122253.42537.paul@nowt.org>
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~