PR tree-optimization/47265
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 2011 19:50:56 +0000 (19:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jan 2011 19:50:56 +0000 (19:50 +0000)
commit628ce22b27ee5839cde4a7e52f06ef7b556c6add
treec3bf33476cd79def86c5357582c9dcc5d72f16bb
parentf9c26062b6910114b2590ca1095b74732d4de319
PR tree-optimization/47265
PR tree-optimization/47443
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
if name still has some uses.

* gcc.c-torture/compile/pr47265.c: New test.
* gcc.dg/pr47443.c: New test.

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