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: [tree-ssa] Array accesses


On Thu, 1 Aug 2002 00:37:35 +0200, =?iso-8859-1?Q?Pop_S=E9bastian?= <pop@gauvain.u-strasbg.fr> wrote:

> On Tue, Jul 30, 2002 at 09:05:11AM -0400, Diego Novillo wrote:
>> The problem is pointer arithmetic.  The parser turns offsets into byte offsets.  
>
> I think that it would be simpler to deal with exact array accessors 
> rather than pointer arithmetics in the optimizer.

I would think so.  I don't know why we decompose array refs so soon when
we're indexing off anything other than a decl with ARRAY_TYPE.

Jason


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