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/19831] Missing DSE/malloc/free optimization


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


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