This is the mail archive of the gcc-cvs@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]

r135107 - in /branches/named-addr-spaces-branch...


Author: bje
Date: Fri May  9 03:06:18 2008
New Revision: 135107

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135107
Log:
More separation into the backend.

	* targhooks.c (default_addr_space_number): New.
	* targhooks.h (default_addr_space_number): New prototype.
	* target.h (struct gcc_target): New field addr_space_number.
	* target-def.h (TARGET_ADDR_SPACE_NUMBER): New.
	(TARGET_INITIALIZER): Add TARGET_ADDR_SPACE_NUMBER.
	* c-decl.c (declspecs_add_addrspace): Use this target hook to look
	up the address space number for a decl.
	* config/spu/spu.c (struct spu_address_space): Add new fields.
	(spu_address_spaces): Update struct instance.
	(spu_valid_pointer_mode): Remove fixme.
	(spu_addr_space_name): Likewise.
	(spu_addr_space_conversion_rtl): Simplify--use the table.
	(spu_valid_addr_space): Likewise.

Modified:
    branches/named-addr-spaces-branch/gcc/ChangeLog.named
    branches/named-addr-spaces-branch/gcc/c-decl.c
    branches/named-addr-spaces-branch/gcc/config/spu/spu.c
    branches/named-addr-spaces-branch/gcc/target-def.h
    branches/named-addr-spaces-branch/gcc/target.h
    branches/named-addr-spaces-branch/gcc/targhooks.c
    branches/named-addr-spaces-branch/gcc/targhooks.h


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