[Bug tree-optimization/19831] Missing DSE/malloc/free optimization

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 8 09:23:00 GMT 2011


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

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-08 09:21:47 UTC ---
Author: rguenth
Date: Thu Sep  8 09:21:39 2011
New Revision: 178683

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

    PR tree-optimization/19831
    * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Do not mark
    allocation functions as necessary.

    * gcc.dg/tree-ssa/ssa-dce-8.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dce-8.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-dce.c



More information about the Gcc-bugs mailing list