This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proposal: changing representation of memory references
- From: Richard Henderson <rth at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 4 Apr 2007 10:19:23 -0700
- Subject: Re: Proposal: changing representation of memory references
- References: <20070404143508.GA461@atrey.karlin.mff.cuni.cz>
On Wed, Apr 04, 2007 at 04:35:08PM +0200, Zdenek Dvorak wrote:
> For each memory reference, we remember the following information:
>
> -- base of the reference
> -- constant offset
> -- vector of indices
> -- type of the accessed location
> -- original tree of the memory reference (or another summary of the
> structure of the access, for aliasing purposes)
> -- flags
What do you do with Ada COMPONENT_REFs, at a variable offset?
In general I'd be pretty happy not handling them, and having
them drop to arithmetic outside the mem_ref. But it's something
to think about.
I think the whole idea is promising.
r~