gimplify_parameters
Richard Henderson
rth@redhat.com
Tue Dec 21 14:51:00 GMT 2004
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~
More information about the Gcc
mailing list