This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [named-addr-space] Remove unused function set_mem_attrs_from_reg
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 16 Jun 2009 14:12:23 -0400
- Subject: Re: [named-addr-space] Remove unused function set_mem_attrs_from_reg
- References: <E1MGXBq-0005Ci-Lz@fencepost.gnu.org>
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