Commit d68f5edf by Christophe Lyon Committed by Christophe Lyon

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

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
parent 79d2e614
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> 2019-11-28 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92691 PR tree-optimization/92691
......
/* Test that we do not ice in thumb1 mode */ /* Test that we do not ice in thumb1 mode */
/* { dg-do compile } */ /* { 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) void __attribute__((target("arm"))) f(char *out)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment