This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix gcc.c-torture/execute/20030928-1.c for ARM VxWorks
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org, paul at codesourcery dot com, nathan at codesourcery dot com, richard at codesourcery dot com
- Date: Tue, 10 Jul 2007 19:20:58 -0700
- Subject: Re: Fix gcc.c-torture/execute/20030928-1.c for ARM VxWorks
- References: <87hcokh4si.fsf@firetop.home>
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