OSDN Git Service

2011-09-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Sep 2011 09:21:39 +0000 (09:21 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Sep 2011 09:21:39 +0000 (09:21 +0000)
commita3084c6b4e857804c7215a10377a4432d6f694d1
treecacd1b123bb8053812cddbd152f5ddd2121054b5
parentbf71920530faf499756ced19fcc694ab2bd5f399
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178683 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dce-8.c [new file with mode: 0644]
gcc/tree-ssa-dce.c