Fix PR45297: handle ADDR_EXPR in interpret_rhs_expr as in follow_ssa_edge_expr.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 20:13:11 +0000 (20:13 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 2010 20:13:11 +0000 (20:13 +0000)
commit1214c39737ceab7df0e103da1d6d8a29a0d9c3bb
treedbcf34d5077c3b073edbea93727ac6372f8b00a7
parent1c5163f8cd152bd555ca7a130d6c3e2c6450b719
Fix PR45297: handle ADDR_EXPR in interpret_rhs_expr as in follow_ssa_edge_expr.

2010-12-01  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/45297
* tree-scalar-evolution.c (interpret_rhs_expr): Handle ADDR_EXPR
with MEM_REFs as POINTER_PLUS_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167390 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-scalar-evolution.c