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]

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


Author: bje
Date: Mon Oct 29 22:48:39 2007
New Revision: 129747

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129747
Log:
	* target.h (struct gcc_target): Add ea_pointer_mode.
	* tree.h (EA_POINTER_TYPE_P): New.
	(NON_EA_POINTER_TYPE_P): Likewise.
	* tree.c (integer_pow2p): Avoid POINTER_SIZE for __ea types.
	(tree_log2): Likewise.
	(tree_floor_log2): Likewise.
	(build_pointer_type_for_mode): Avoid ptr_mode for __ea types.
	* c-objc-common.c (c_types_compatible_p): Handle __ea types.
	* expr.c (expand_expr_real_1): Handle casts of pointers to/from
	__ea qualified pointers.
	* varasm.c (default_ea_pointer_mode): New function.
	* tree-ssa.c (useless_type_conversion_p): Casts to void * are only
	useless if both pointers are non-ea pointers.
	* target-def.h (TARGET_EA_POINTER_MODE): New.
	(TARGET_INITIALIZER): Add TARGET_EA_POINTER_MODE.
	* output.h (default_ea_pointer_mode): Provide extern declaration.
	* config/spu/spu.c (TARGET_EA_POINTER_MODE): Override.
	(spu_ea_pointer_mode): New function.
	* config/spu/spu.md (to_ea, from_ea): New expanders.

Modified:
    branches/named-addr-spaces-branch/gcc/ChangeLog.named
    branches/named-addr-spaces-branch/gcc/c-objc-common.c
    branches/named-addr-spaces-branch/gcc/config/spu/spu.c
    branches/named-addr-spaces-branch/gcc/config/spu/spu.md
    branches/named-addr-spaces-branch/gcc/expr.c
    branches/named-addr-spaces-branch/gcc/output.h
    branches/named-addr-spaces-branch/gcc/target-def.h
    branches/named-addr-spaces-branch/gcc/target.h
    branches/named-addr-spaces-branch/gcc/tree-ssa.c
    branches/named-addr-spaces-branch/gcc/tree.c
    branches/named-addr-spaces-branch/gcc/tree.h
    branches/named-addr-spaces-branch/gcc/varasm.c


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