r139577 - in /branches/cell-4_3-branch: ChangeL...

bje@gcc.gnu.org bje@gcc.gnu.org
Mon Aug 25 23:55:00 GMT 2008


Author: bje
Date: Mon Aug 25 23:55:20 2008
New Revision: 139577

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139577
Log:
This is the support for __ea variable definitions.

	* gcc/c-decl.c (start_decl): Set DECL_SECTION_NAME to "._ea" for
	__ea variable definitions.
	(grokdeclarator): Allow static and global __ea variable
	definitions.
	* gcc/config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
	(spu_section_type_flags): New function.
	(ea_symbol_ref): Convert to for_each_rtx predicate.
	(spu_legitimate_constant_p): Reject __ea symbol refs wrapped in
	const.
	(spu_legitimate_address): Likewise.
	* gcc/config/spu/spu.h (TEXT_SECTION_ASM_OP): Add a tab.
	(DATA_SECTION_ASM_OP): Likewise.
	* gcc/config/spu/spu.opt: Add -mall-ea.
	* gcc/c-typeck.c (build_array_ref): Do not strip qualifiers from
	the array element type.  (PR 33726)

	* gcc/c-common.h (strip_array_types): Move declaration to..
	* gcc/tree.h: ..here.
	(OTHER_ADDR_SPACE_POINTER_TYPE_P,
	GENERIC_ADDR_SPACE_POINTER_TYPE_P, TYPE_QUALS): Invoke
	strip_array_types on TYPE_ADDR_SPACE argument.
	* gcc/c-objc-common.c (c_types_compatible_p): Likewise.
	* gcc/config/spu/spu.h (ASM_OUTPUT_SYMBOL_REF): Likewise.
	* gcc/config/spu/spu.c (ea_symbol_ref): Likewise.
	* gcc/convert.c (convert_to_integer): Likewise.
	* gcc/c-parser.c (c_parser_postfix_expression_after_paren_type): Ditto.
	* gcc/dwarf2out.c (modified_type_die): Likewise.
	* gcc/emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
	* gcc/varasm (make_decl_rtl): Likewise.
	* gcc/tree.c (build_pointer_type): Likewise.
	(strip_array_types): Move from here ..
	* gcc/c-common.c: .. to here.
	* gcc/testsuite/gcc.target/spu/ea/compile.c: Update test.
	* gcc/testsuite/gcc.target/spu/ea/errors.c: Likewise.
	* gcc/testsuite/gcc.target/spu/cache.c: Likewise.

Modified:
    branches/cell-4_3-branch/ChangeLog.cell
    branches/cell-4_3-branch/gcc/c-common.c
    branches/cell-4_3-branch/gcc/c-common.h
    branches/cell-4_3-branch/gcc/c-decl.c
    branches/cell-4_3-branch/gcc/c-objc-common.c
    branches/cell-4_3-branch/gcc/c-parser.c
    branches/cell-4_3-branch/gcc/config/spu/spu.c
    branches/cell-4_3-branch/gcc/config/spu/spu.h
    branches/cell-4_3-branch/gcc/config/spu/spu.opt
    branches/cell-4_3-branch/gcc/convert.c
    branches/cell-4_3-branch/gcc/dwarf2out.c
    branches/cell-4_3-branch/gcc/emit-rtl.c
    branches/cell-4_3-branch/gcc/testsuite/gcc.target/spu/cache.c
    branches/cell-4_3-branch/gcc/testsuite/gcc.target/spu/ea/compile.c
    branches/cell-4_3-branch/gcc/testsuite/gcc.target/spu/ea/errors.c
    branches/cell-4_3-branch/gcc/tree.c
    branches/cell-4_3-branch/gcc/tree.h
    branches/cell-4_3-branch/gcc/varasm.c



More information about the Gcc-cvs mailing list