OSDN Git Service

2008-03-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Mar 2008 16:13:04 +0000 (16:13 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Mar 2008 16:13:04 +0000 (16:13 +0000)
commit7cf3d2829371ab6a0a98f7c504942d290ab81c79
treef34248a3bddd1b90c01b24609c94f0ff59cae43d
parent2349cd3e43379cd107ab0248ed10ff5c3352e0eb
2008-03-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/35472
* tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store
whose single use_stmt has a overlapping set of loaded and
stored symbols as that use_stmt might be a noop assignment then.

* gcc.c-torture/execute/pr35472.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132899 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr35472.c [new file with mode: 0644]
gcc/tree-ssa-dse.c