This is the mail archive of the
mailing list for the GCC project.
Re: Deal with local static same way as we deal with global static for IPA
On Wed, Jun 08, 2005 at 11:02:51AM +0200, Jan Hubicka wrote:
> I don't see how to do that easilly - the BIND_EXPRs are linked via
> TREE_CHAIN pointers and we need the local static in two BIND_EXPRs at
> once, but we have only one link pointer.
I don't think it needs to be linked into the bind_expr at all.
We don't use the BIND_EXPRs for debugging, only the BLOCKs. You may
need to insert the variable into the inliner's unexpanded_var_list,
to make sure that its DECL_RTL gets created at the right time, but
that should be about it.