This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[named-addr-spaces-branch][Patch,committed] Minor prototype fix
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 1 Dec 2008 16:46:29 -0500
- Subject: [named-addr-spaces-branch][Patch,committed] Minor prototype fix
In making the patch against the mainline, I noticed that I didn't use
addr_space_t in one prototype.
2008-12-01 Michael Meissner <meissner@linux.vnet.ibm.com>
* emit-rtl.h (set_mem_addr_space): Correct prototype to use
addr_space_t, not unsigned char.
Index: gcc/emit-rtl.h
===================================================================
--- gcc/emit-rtl.h (revision 142328)
+++ gcc/emit-rtl.h (working copy)
@@ -27,7 +27,7 @@ extern void set_mem_alias_set (rtx, alia
extern void set_mem_align (rtx, unsigned int);
/* Set the address space of MEM to ADDRSPACE. */
-extern void set_mem_addr_space (rtx, unsigned char);
+extern void set_mem_addr_space (rtx, addr_space_t);
/* Set the expr for MEM to EXPR. */
extern void set_mem_expr (rtx, tree);
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com