This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem with your GIMPLE_FORMAL_TEMP change
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Aug 04 19:28:02 EDT
- Subject: Re: problem with your GIMPLE_FORMAL_TEMP change
Need some way to notice when we've made the substitution. If you've
got SAVE_EXPR< VAR_DECL <x> >, and X is a variable that might change,
we do still need to copy the value to a new temporary.
OK, right.
I'm now thinking that we should have a bit on the SAVE_EXPR itself
to notice when it has been resolved.
Why clear DECL_GIMPLE_FORMAL_TEMP_P when leaving a context? Not doing
that would also fix this, but I'm not sure what it might break since I
don't understand why its being cleared.