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/41778] missed dead store elimination



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-10-23 09:34 -------
Subject: Bug 41778

Author: rguenth
Date: Fri Oct 23 09:34:46 2009
New Revision: 153491

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153491
Log:
2009-10-23  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/41778
        * tree-ssa-pre.c (do_regular_insertion): Only insert if a
        redundancy along a path in the CFG we want to optimize for speed
        is going to be removed.
        (execute_pre): Do partial-PRE only if the function is to be
        optimized for speed.
        (gate_pre): Do not turn off all of PRE when not optimizing a
        function for speed.

        * gcc.dg/tree-ssa/ssa-pre-26.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-26.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c


-- 


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


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