OSDN Git Service

PR c++/34459
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2007 14:40:33 +0000 (14:40 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2007 14:40:33 +0000 (14:40 +0000)
commit1bef3e76b824e3a791b19ebd0a0ef8e1887fcad0
tree5990689e70d0a0e74d6934d8c11527dd589c94c9
parentbd27f10defae57d8ca9f20a3bb135eb8f8928a09
PR c++/34459
* tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
USE_STMT not only stores into the same object as STMT, but might
read it too.

* gcc.c-torture/execute/20071219-1.c: New test.

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