------- Comment #13 from rguenth at gcc dot gnu dot org  2008-01-11 14:56 
-------
Subject: Bug 30905

Author: rguenth
Date: Fri Jan 11 14:55:34 2008
New Revision: 131468

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131468
Log:
2008-01-11  Steven Bosscher  <[EMAIL PROTECTED]>

        PR rtl-optimization/30905
        * cfgcleanup.c: Include dce.h
        (crossjumps_occured): New global variable.
        (try_crossjump_bb): Exit loop after finding a fallthru edge.
        If something changed, set crossjumps_occured to true.
        (try_optimize_cfg): Clear crossjumps_occured at the beginning.
        Don't add/remove fake edges to exit here...
        (cleanup_cfg): ...but do it here, when crossjumping.
        Run a fast DCE when successful crossjumps occured in the latest
        iteration of try_optimize_cfg.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgcleanup.c


-- 


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

Reply via email to