Dead-code elimination can't remove string copy insns?
Diego Novillo
dnovillo@redhat.com
Tue May 13 17:24:00 GMT 2003
On Tue, 2003-05-13 at 13:16, law@redhat.com wrote:
> Err, we do zap GOTO_EXPRs to the next statement. See
> remove_useless_stmts_and_vars. It's restricted in that it can't deal
> with removal of a GOTO_EXPR when the label is at a different control
> nesting depth, but they're at the same nesting depth in your example.
>
Then I found a bug :) We didn't remove that goto in this case.
Maybe we apply the goto removal before the BIND_EXPR removal? In this
case, we initially have the goto and the label at different nesting
levels.
Diego.
More information about the Gcc
mailing list