This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[named-addr-space] Remove unused function set_mem_attrs_from_reg


This function was deleted on mainline but remained on the branch
due to a conflict.

Paolo

2009-06-07  Paolo Bonzini  <bonzini@gnu.org>

	* emit-rtl.c (set_mem_attrs_from_reg): Make static.

Index: gcc/emit-rtl.c
===================================================================
--- gcc/emit-rtl.c	(branch nas-cleanup)
+++ gcc/emit-rtl.c	(working copy)
@@ -1867,17 +1867,6 @@ set_mem_attributes (rtx ref, tree t, int
   set_mem_attributes_minus_bitpos (ref, t, objectp, 0);
 }
 
-/* Set MEM to the decl that REG refers to.  */
-
-void
-set_mem_attrs_from_reg (rtx mem, rtx reg)
-{
-  MEM_ATTRS (mem)
-    = get_mem_attrs (MEM_ALIAS_SET (mem), REG_EXPR (reg),
-		     GEN_INT (REG_OFFSET (reg)),
-		     MEM_SIZE (mem), MEM_ALIGN (mem), MEM_ADDR_SPACE (mem), GET_MODE (mem));
-}
-
 /* Set the alias set of MEM to SET.  */
 
 void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]