This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New SRA implementation
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 29 Jun 2004 18:50:51 +0200
- Subject: Re: New SRA implementation
- References: <20040629164004.GA18156@redhat.com>
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.