This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Deletion of dead stores
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Deletion of dead stores
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 31 May 2000 15:03:36 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <10005311209.AA22564@vlsi1.ultra.nyu.edu>you write:
> This does the optimization described in its comment below.
>
> Wed May 31 08:07:52 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
>
> * flow.c (propagate_block): If block has no successors, stores to
> frame are dead if not used.
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.
jeff