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-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


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