This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question on handling of static_chain_decl
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Sat, 24 Jul 04 09:36:54 EDT
- Subject: 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?