Hi All,

I committed this as r249122 under the GCC obvious rule.

This fixes the failing test gcc.target/arm/sdiv_costs_1.c on soft float targets
by disabling it on those targets since the div calls aren't expanded.

gcc/testsuite/
2017-06-12  Tamar Christina  <tamar.christ...@arm.com>

        * gcc.target/arm/sdiv_costs_1.c: Disable on softfloat.

Thanks,
Tamar
diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
index 76086ab9ce28fceb37a4e8a615a38923fa7b985a..2ef397e22ca1643685ec7af31f76201746df5015 100644
--- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
+++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -march=armv8-a" } */
+/* { dg-require-effective-target arm_hard_vfp_ok }  */
 
 /* Both sdiv and udiv can be used here, so prefer udiv.  */
 int f1 (unsigned char *p)

Reply via email to