diff mbox

[GCC/ARM,gcc-5-branch,ping2] Fix gcc.target/arm/fpscr.c

Message ID 44f75176-e932-5d97-3499-e56c4ae293f0@foss.arm.com
State New
Headers show

Commit Message

Thomas Preudhomme June 30, 2017, 3:41 p.m. UTC
Ping?

Best regards,

Thomas

On 28/06/17 12:35, Thomas Preudhomme wrote:
> Ping?
> 
> Best regards,
> 
> Thomas
> 
> On 26/06/17 12:32, Thomas Preudhomme wrote:
>> Hi,
>>
>> As raised by Christophe Lyon, fpscr.c FAILs because arm_fp_ok and arm_fp
>> are not defined in GCC 5. This commit changes the test to use the same
>> recipe as gcc.target/arm/cmp-2.c
>>
>> ChangeLog entry is as follows:
>>
>>
>> *** gcc/testsuite/ChangeLog ***
>>
>> 2017-06-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>>
>>          * gcc.target/arm/fpscr.c: Require arm_vfp_ok instead of arm_fp_ok and
>>          add -mfpu=vfp -mfloat-abi=softfp instead of fp_ok options.
>>
>>
>> Ok for GCC 5?
>>
>> Best regards,
>>
>> Thomas

Comments

Kyrill Tkachov June 30, 2017, 3:41 p.m. UTC | #1
On 30/06/17 16:41, Thomas Preudhomme wrote:
> Ping?
>
> Best regards,
>
> Thomas
>
> On 28/06/17 12:35, Thomas Preudhomme wrote:
>> Ping?
>>
>> Best regards,
>>
>> Thomas
>>
>> On 26/06/17 12:32, Thomas Preudhomme wrote:
>>> Hi,
>>>
>>> As raised by Christophe Lyon, fpscr.c FAILs because arm_fp_ok and arm_fp
>>> are not defined in GCC 5. This commit changes the test to use the same
>>> recipe as gcc.target/arm/cmp-2.c
>>>
>>> ChangeLog entry is as follows:
>>>
>>>
>>> *** gcc/testsuite/ChangeLog ***
>>>
>>> 2017-06-26  Thomas Preud'homme <thomas.preudhomme@arm.com>
>>>
>>>          * gcc.target/arm/fpscr.c: Require arm_vfp_ok instead of arm_fp_ok and
>>>          add -mfpu=vfp -mfloat-abi=softfp instead of fp_ok options.
>>>
>>>
>>> Ok for GCC 5?
>>>

Ok.
Thanks,
Kyrill

>>> Best regards,
>>>
>>> Thomas
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/arm/fpscr.c b/gcc/testsuite/gcc.target/arm/fpscr.c
index 7b4d71d72d8964f6da0d0604bf59aeb4a895df43..cafba4e8d67545bd210477230b9682fe86620e23 100644
--- a/gcc/testsuite/gcc.target/arm/fpscr.c
+++ b/gcc/testsuite/gcc.target/arm/fpscr.c
@@ -1,9 +1,9 @@ 
 /* Test the fpscr builtins.  */
 
 /* { dg-do compile } */
-/* { dg-require-effective-target arm_fp_ok } */
+/* { dg-require-effective-target arm_vfp_ok } */
 /* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
-/* { dg-add-options arm_fp } */
+/* { dg-options "-mfpu=vfp -mfloat-abi=softfp" } */
 
 void
 test_fpscr ()