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]

Re: [named-addr-space] Remove unused function set_mem_attrs_from_reg


On Tue, Jun 16, 2009 at 07:50:58AM -0400, Paolo Bonzini wrote:
> 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

I believe I caught this and deleted it in my last merge checkin on June 14th.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com


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