From: Matthew Wahab Date: Fri, 30 Sep 2016 13:25:04 +0000 (+0000) Subject: [Testsuite] Use correct effective-target settings for ARM fp16-aapcs tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e70bbc6f1f55a9532219812309ec22b04b539367;p=gcc.git [Testsuite] Use correct effective-target settings for ARM fp16-aapcs tests. 2016-09-30 Matthew Wawhab * gcc.target/arm/fp16-aapcs-3.c: Replace arm_fp16_ok with arm_fp16_alternative_ok as the required effective target. * gcc.target/arm/fp16-aapcs-4.c: Likewise. Also add -mfp16-format=alternative to the dg-options directive and remove the dg-add-options directive. From-SVN: r240655 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3a359ba53ac..93f72c32974 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2016-09-30 Matthew Wawhab + + * gcc.target/arm/fp16-aapcs-3.c: Replace arm_fp16_ok with + arm_fp16_alternative_ok as the required effective target. + * gcc.target/arm/fp16-aapcs-4.c: Likewise. Also add + -mfp16-format=alternative to the dg-options directive and remove + the dg-add-options directive. + 2016-09-30 Fritz Reese PR fortran/77764 diff --git a/gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c b/gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c index b7d7e58256c..84fc0a0f5f0 100644 --- a/gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c +++ b/gcc/testsuite/gcc.target/arm/fp16-aapcs-3.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_hard_vfp_ok } */ -/* { dg-require-effective-target arm_fp16_ok } */ +/* { dg-require-effective-target arm_fp16_alternative_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_fp16_alternative } */ diff --git a/gcc/testsuite/gcc.target/arm/fp16-aapcs-4.c b/gcc/testsuite/gcc.target/arm/fp16-aapcs-4.c index 4c90a56e037..41c7ab780a6 100644 --- a/gcc/testsuite/gcc.target/arm/fp16-aapcs-4.c +++ b/gcc/testsuite/gcc.target/arm/fp16-aapcs-4.c @@ -1,7 +1,6 @@ /* { dg-do compile } */ -/* { dg-require-effective-target arm_fp16_ok } */ -/* { dg-options "-mfloat-abi=softfp -O2" } */ -/* { dg-add-options arm_fp16_alternative } */ +/* { dg-require-effective-target arm_fp16_alternative_ok } */ +/* { dg-options "-mfloat-abi=softfp -O2 -mfp16-format=alternative" } */ /* { dg-skip-if "incompatible float-abi" { arm*-*-* } { "-mfloat-abi=hard" } } */ /* Test __fp16 arguments and return value in registers (softfp). */