OSDN Git Service

* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 12:13:02 +0000 (12:13 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 May 2009 12:13:02 +0000 (12:13 +0000)
commitbd8d8d8190891d693eadea6c938b5eed2c031a70
tree3515881bf8eb12526689a646dc2ac11b970093fe
parente9e5970b94ee90b8cdafd695aeb01683efff634b
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also
recurse on an invariant address if a conversion from a pointer
type to a wider integer type is involved.

testsuite:
* gcc.c-torture/compile/ptr-conv-1.c: New test.

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