diff mbox series

[committed,testsuite,arm] Force use of -mfloat-abi=softfp in asm-flag-4.c

Message ID CAKdteOZv-fOfJL1rvg7mZVw7ycd_QjsynF68utnD45=0zfPk3A@mail.gmail.com
State New
Headers show
Series [committed,testsuite,arm] Force use of -mfloat-abi=softfp in asm-flag-4.c | expand

Commit Message

Christophe Lyon Nov. 28, 2019, 9:19 a.m. UTC
Hi,

I've just committed the patch below as r278804. It avoids annoying
failures on asm-flag-4.c when the compiler is configured
--with-float=hard.

2019-11-28  Christophe Lyon  <christophe.lyon@linaro.org>

        * gcc.target/arm/asm-flag-4.c: Use -mfloat-abi=softfp.

 {

Christophe
diff mbox series

Patch

Index: gcc/testsuite/gcc.target/arm/asm-flag-4.c
===================================================================
--- gcc/testsuite/gcc.target/arm/asm-flag-4.c   (revision 278803)
+++ gcc/testsuite/gcc.target/arm/asm-flag-4.c   (revision 278804)
@@ -1,6 +1,8 @@ 
 /* 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)