This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gimplify_parameters
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 21 Dec 2004 06:51:05 -0800
- Subject: Re: gimplify_parameters
- References: <10412211415.AB28839@vlsi1.ultra.nyu.edu>
On Tue, Dec 21, 2004 at 09:15:11AM -0500, Richard Kenner wrote:
> But if it does that, then it needs to be prepared to gimplify
> the COMPONENT_REF it makes.
It's much worse than that. The cases are:
(1) The offset contains only global variables. Easy enough to
gimplify and get the correct result.
(2) The offset contains local variables. We'd need to find the
correct SSA version of each varible.
(3) The offset contains non-local variables from a parent function.
There's absolutely no way to retrieve these. The mapping into
the frame object was thrown away after lowering.
Given (2) and (3), I'm going to have SRA punt on any variable
sized object.
r~