The asm-flag-4.c test forces the generation of Thumb code for armv4t,
which is not supported when using the 'hard' FP ABI. This patch
ensures the test uses -mfloat-abi=softfp safely, to avoid irrelevant
failures.
2019-11-28 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/arm/asm-flag-4.c: Use -mfloat-abi=softfp.
From-SVN: r278804
+2019-11-28 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * gcc.target/arm/asm-flag-4.c: Use -mfloat-abi=softfp.
+
2019-11-28 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92691
/* Test that we do not ice in thumb1 mode */
/* { dg-do compile } */
-/* { dg-options "-march=armv4t" } */
+/* { dg-require-effective-target arm_arch_v4t_thumb_ok } */
+/* { dg-skip-if "do not override -mfloat-abi" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=softfp" } } */
+/* { dg-options "-march=armv4t -mfloat-abi=softfp" } */
void __attribute__((target("arm"))) f(char *out)
{