This is the mail archive of the gcc@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: Proposed location for variable sizes etc in ARRAY_REF and COMPONENT_REF


On Tue, Jun 22, 2004 at 09:14:31PM -0400, Richard Kenner wrote:
> What about making an exp_ann and using it for those two tree types to
> hold the variable bound, offset, and element size, if needed?

No.  They don't exist early enough.  Nor are they terribly stable.

> I *really* don't like the idea of two tree codes ...

Why not?  All the ugly stuff should be hidden behind the 
accessors that you wrote.  It's just a matter of putting
both codes in any switch statement (or whatever).


r~


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