On Thu, Apr 23, 2015 at 4:23 PM, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
> Hi Terry,
>
> On 23/04/15 02:56, Terry Guo wrote:
>>
>>   /* { dg-do compile } */
>> -/* { dg-options "-march=armv6-m -mthumb -O3 -w -mfloat-abi=soft" } */
>> +/* { dg-options "-mthumb -O2 -mfloat-abi=soft" } */
>>
>
>
> If you have really need the -mthumb here, don't you also
> need to check for a thumb effective target?
> I see in the testsuite we use things like:
> /* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
> or
> /* { dg-require-effective-target arm_thumb2_ok } */
>
> Kyrill
>

The -mthumb is necessary to reproduce this bug currently. But it is
better to enable running this test for other targets, so I prefer not
limiting this case for thumb1 target.

BR,
Terry

Reply via email to