summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 17:47:47 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 17:47:47 +0000
commitaf13c2782357c8ae13ba4608ede2640f46f36b74 (patch)
tree2e8bb0287ec9921b9ed7aa6e54c57396dec983a6 /gcc/cselib.c
parente3190d3de3ceeae84cdcf0b11e93198f50ab9a72 (diff)
downloadgcc-af13c2782357c8ae13ba4608ede2640f46f36b74.tar.gz
* cselib.h (struct elt_loc_list): Remove canon_loc field.
* cselib.c (new_elt_loc_list): Remove canon_loc initialization. (cselib_invalidate_mem): Remove all canon_loc and canon_x traces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 0dfb1a6c118..9d738df6e8d 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -157,7 +157,6 @@ new_elt_loc_list (struct elt_loc_list *next, rtx loc)
el = pool_alloc (elt_loc_list_pool);
el->next = next;
el->loc = loc;
- el->canon_loc = NULL;
el->setting_insn = cselib_current_insn;
el->in_libcall = cselib_current_insn_in_libcall;
return el;
@@ -1081,7 +1080,6 @@ cselib_invalidate_mem (rtx mem_rtx)
while (*p)
{
rtx x = (*p)->loc;
- rtx canon_x = (*p)->canon_loc;
cselib_val *addr;
struct elt_list **mem_chain;
@@ -1092,8 +1090,6 @@ cselib_invalidate_mem (rtx mem_rtx)
p = &(*p)->next;
continue;
}
- if (!canon_x)
- canon_x = (*p)->canon_loc = canon_rtx (x);
if (num_mems < PARAM_VALUE (PARAM_MAX_CSELIB_MEMORY_LOCATIONS)
&& ! canon_true_dependence (mem_rtx, GET_MODE (mem_rtx), mem_addr,
x, cselib_rtx_varies_p))