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]

Re: Fix gcc.c-torture/execute/20030928-1.c for ARM VxWorks


Richard Sandiford wrote:

> gcc/
> 	* config/arm/arm-protos.h (arm_cannot_force_const_mem): Declare.
> 	* config/arm/arm.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
> 	arm_cannot_force_const_mem.
> 	(arm_cannot_force_const_mem): New function.
> 	* config/arm/arm.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro.
> 	(LEGITIMATE_CONSTANT_P): Test arm_cannot_force_const_mem instead
> 	of arm_tls_referenced_p.
> 	* config/arm/arm.md (movsi): Split out-of-section constants when
> 	ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
> 	* config/arm/vxworks.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.

Paul, would you review this, please?

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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