------- Additional Comments From law at redhat dot com  2005-03-31 18:00 -------
Subject: Re: [PR tree-optimization/20640] add phi args to dests of
        dce-redirected edges

On Thu, 2005-03-31 at 05:26 -0300, Alexandre Oliva wrote:
> On Mar 31, 2005, Alexandre Oliva <[EMAIL PROTECTED]> wrote:
[ ... ]
> Anyway, how does this patch look?
> Index: gcc/ChangeLog
from  Alexandre Oliva  <[EMAIL PROTECTED]>

        PR tree-optimization/20640
        * tree-ssa-dce.c (remove_dead_stmt): Don't redirect edge to
        post-dominator if it has phi nodes.
        (eliminate_unnecessary_stmts): Remove dead phis in all blocks
        before dead statements.
BTW, if you want to go forward with this version, it looks OK to me
assuming it passes bootstrapping and regression testing.

Jeff




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20640

Reply via email to