summaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-01 11:00:47 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-01 11:00:47 +0000
commitc6259b835bb14dd8bd25fb2a41dd15f1d3d62a81 (patch)
treea2295f973363e17dc793a7b1597e907c1198e6a0 /gcc/alias.c
parentd04314b8c819bd4be0f24c3e36eacfef14dee5c5 (diff)
downloadgcc-c6259b835bb14dd8bd25fb2a41dd15f1d3d62a81.tar.gz
* function.c (keep_stack_depressed): Don't use delete_insn.
* expr.h (set_mem_alias_set): Move decl to here. * rtl.h (mem_attrs): New typedef and struct. (union rtunion_def): Add field for mem_attrs. (X0MEMATTR, MEM_ATTRS): New macros. (MEM_ALIAS_SET): Use MEM_ATTRS. (MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros. (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS. (set_mem_alias_set): Delete decl from here. * alias.c (set_mem_alias_set): Delete from here. * emit-rtl.c (mem_attrs_htab): New variable. (rtx_htab_mark, rtx_htab_mark_1): Deleted. (mem_attrs_htab_hash, mem_attrs_htab_eq): New functions. (mem_attrs_mark, get_mem_attrs): Likewise. (gen_rtx_MEM): Clear MEM_ATTRS. (set_mem_attributes): Move to here. (set_mem_alias_set): Likewise, and call get_mem_attrs. (init_emit_once): const_int_htab now deletable htab. Initialize mem_attrs_htab. * explow.c (set_mem_attributes): Delete from here. * function.c (put_var_into_stack): Clear MEM_ATTRS. (gen_mem_addressof): Likewise; rework to use set_mem_attributes. * ggc-common.c (ggc_mark_rtx_children, case MEM): New case. * reload1.c (reload): Rework changing REG to MEM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45922 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index abb593a6d9d..bf7c5e33e4f 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -276,24 +276,6 @@ alias_sets_conflict_p (set1, set2)
return 0;
}
-/* Set the alias set of MEM to SET. */
-
-void
-set_mem_alias_set (mem, set)
- rtx mem;
- HOST_WIDE_INT set;
-{
- /* We would like to do this test but can't yet since when converting a
- REG to a MEM, the alias set field is undefined. */
-#if 0
- /* If the new and old alias sets don't conflict, something is wrong. */
- if (!alias_sets_conflict_p (set, MEM_ALIAS_SET (mem)))
- abort ();
-#endif
-
- MEM_ALIAS_SET (mem) = set;
-}
-
/* Return 1 if TYPE is a RECORD_TYPE, UNION_TYPE, or QUAL_UNION_TYPE and has
has any readonly fields. If any of the fields have types that
contain readonly fields, return true as well. */