Dead code elimination of dead structure assignments in gcc
law@redhat.com
law@redhat.com
Wed Jan 23 14:31:00 GMT 2002
In message <20020123110523.A7653@redhat.com>, Richard Henderson writes:
> On Wed, Jan 23, 2002 at 06:58:59AM -0700, law@redhat.com wrote:
> > >From a brief look at your example, I would expect flow to delete your
> > dead stores -- I don't know why it isn't working.
>
> Flow only does this for leaf basic blocks (ones ending in a return
> or a noreturn function call). We do not propagate stack slot life
> information into other blocks.
Ah. That would be a problem.
It seems to me that propagating through reverse extended basic blocks
would allow us to pick up more dead stores into the stack.
jeff
More information about the Gcc
mailing list