OSDN Git Service

2009-04-29 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Apr 2009 15:05:22 +0000 (15:05 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Apr 2009 15:05:22 +0000 (15:05 +0000)
commit7b705d9469ced61e99ee5470ac72b8371154e94a
tree66eaac3f5b2e2a3107730102d667f8465c06628b
parent0fead507b0bbd5e7ef37e2be8741edeb59d938ce
2009-04-29  Richard Guenther  <rguenther@suse.de>

PR middle-end/39937
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Do not
loose type conversions.
(forward_propagate_addr_expr): Fix tuplification bug.  Remove
stmts only if there are no uses of its definition.

* gcc.c-torture/compile/pr39937.c: New testcase.

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