Hi All,

The test declared the fp16 requirement, but didn't add the options causing it to
fail when the target doesn't have it on by default.

Bootstrapped Regtested on arm-none-Linux-gnueabihf and no issues.

committed under the gcc obvious rules.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

2019-01-11  Tamar Christina  <tamar.christ...@arm.com>

        * gcc.target/aarch64/advsimd-intrinsics/vector-complex_f16.c: Require 
neon
        and add options.

-- 
diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vector-complex_f16.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vector-complex_f16.c
index 99754b67e4b4f62561a2c094a59bb70d6af4f31a..53442492b3b7e71b87741a7bb1fcc791f311024f 100644
--- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vector-complex_f16.c
+++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vector-complex_f16.c
@@ -1,7 +1,8 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_v8_3a_complex_neon_ok } */
-/* { dg-require-effective-target arm_v8_2a_fp16_scalar_ok } */
+/* { dg-require-effective-target arm_v8_2a_fp16_neon_ok } */
 /* { dg-add-options arm_v8_3a_complex_neon } */
+/* { dg-add-options arm_v8_2a_fp16_neon } */
 /* { dg-additional-options "-O2 -march=armv8.3-a+fp16 -save-temps" } */
 
 #include <arm_neon.h>

Reply via email to