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]

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


Author: bje
Date: Fri May  2 05:00:50 2008
New Revision: 134882

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134882
Log:
Make more things generic.

	* tree.c (integer_pow2p): Use the address space number, not a
	hard-coded 1 when getting the address space pointer mode.
	(tree_log2): Likewise.
	(tree_floor_log2): Likewise.
	(build_pointer_type): Likewise.
	* fold-const.c (fit_double_type): Likewise.
	* expr.c (expand_expr_addr_expr): Likewise.
	* varasm.c (make_decl_rtl): Likewise.
	(default_addr_space_pointer_mode): Assert generic address space.
	* convert.c (convert_to_pointer): Likewise.
	(convert_to_integer): Likewise.
	* config/spu/spu.c (spu_ea_pointer_mode): Handle the generic
	address space, returning ptr_mode.  Abort on invalid address
	spaces.
	(spu_addr_space_conversion_rtl): Return 0, not NULL_RTX.

Modified:
    branches/named-addr-spaces-branch/gcc/ChangeLog.named
    branches/named-addr-spaces-branch/gcc/config/spu/spu.c
    branches/named-addr-spaces-branch/gcc/convert.c
    branches/named-addr-spaces-branch/gcc/expr.c
    branches/named-addr-spaces-branch/gcc/fold-const.c
    branches/named-addr-spaces-branch/gcc/tree.c
    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]