This is the mail archive of the gcc@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]

Question on handling of static_chain_decl


I'm getting an ICE on the ACATS test c34007j.  The reason seems to have to
do with a CHAIN.n variable that's not in any BIND_EXPR.

What's confusing me is how this is supposed to work.  If I have a nested
function that's been lowered, it seems like save_body is converting the
static_chain_decl from a PARM_DECL to a VAR_DECL and then leaving
static_chain_decl pointing at the old one.

But I'm not sure how this is supposed to work.  Does another field have
to be added to struct function to save that as well?


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