This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite patch] add code to arm_thumbX_ok to exercise ABI
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "janisjo at codesourcery dot com" <janisjo at codesourcery dot com>
- Cc: Janis Johnson <janis_johnson at mentor dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 08 Aug 2014 11:39:55 +0100
- Subject: Re: [testsuite patch] add code to arm_thumbX_ok to exercise ABI
- Authentication-results: sourceware.org; auth=none
- References: <53E41A0D dot 6020500 at mentor dot com>
On 08/08/14 01:30, Janis Johnson wrote:
> Running an arm-none-eabi test that adds "-mthumb" for a multilib that
> uses "-march=armv5te -mfloat-abi=hard" works fine if the test doesn't
> have any calls, but if it does then the effective-target checks for
> arm_thumb1_ok and arm_thumb2_ok pass but the test's compile step fails
> with "sorry, unimplemented: Thumb-1 hard-float VFP ABI".
>
> This patch adds code to those effective-target checks to exercise
> argument handling and causes them to fail for the multilib flags
> listed above. Tested by running gcc.target/arm tests with a variety
> of multilib flags. OK for mainline and the 4.9 branch?
>
> Janis
>
>
> gcc-20140807-1
>
>
> 2014-08-07 Janis Johnson <janisjo@codesourcery.com>
>
> * lib/target-supports.exp (check_effective_target_arm_thumb1_ok,
> check_effective_target_arm_thumb2_ok): Test with code that passes
> an argument and returns a result.
>
OK.
R.