This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Deletion of dead stores
- To: law at cygnus dot com
- Subject: Re: Deletion of dead stores
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 31 May 00 17:27:53 EDT
- Cc: gcc-patches at gcc dot gnu dot org
An FYI, a more standard (and more effective) way to do this is to
have a virtual write to every stack slot at the end of an exit block.
That's exactly the effect of this change, except that it just chooses
those stack slots that are actually written: if you have a lot of stack,
there's no point in generating bogus stores to each of them.