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: New SRA implementation


Richard Henderson wrote:

This is a complete rewrite to address both of these issues. Nested
structures are handled. Arrays are handled. Arbitrary numbers of
fields are handled.


Yeah!

* tree-sra.c: Rewrite from scratch. Handle nested aggregates.

/* Scalar Replacement of Aggregates (SRA) converts some structure
references into scalar references, exposing them to the scalar
optimizers.
Copyright (C) 2003, 2004 Free Software Foundation, Inc.
Contributed by Diego Novillo <dnovillo@redhat.com>


Now, sorry for the stupid question (my excuses in advance to Diego):
if we are talking about a "Rewrite from scratch", why Rth doesn't appear
in the header?

Paolo.


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