This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/33302] dead-store not eliminated



------- Comment #9 from rguenth at gcc dot gnu dot org  2007-09-06 09:06 -------
Subject: Bug 33302

Author: rguenth
Date: Thu Sep  6 09:05:58 2007
New Revision: 128180

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128180
Log:
2007-09-06  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/33302
        * tree-ssa-dse.c (tree_ssa_dse): Connect infinite loops
        to the exit block before doing the post-dominator walk.
        * domwalk.c (walk_dominator_tree): The exit block is
        interesting even if it is not reachable.

        * gcc.dg/tree-ssa/ssa-dse-11.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dse-11.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/domwalk.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]