Hi,

I've noticed that armv8_2-fp16-move-1.c fails on arm-linux-gnueabi and
arm-none-eabi targets because:
dg-add-options arm_v8_2a_fp16_scalar adds -mfloat-abi=softfp
but we also have
dg-options "-O2 -mfloat-abi=hard
which means the testcase is compiled with both -mfloat-abi=hard
-mfloat-abi=softfp (in that order)

-mfloat-abi=hard is required for the test to pass, so I propose the
attached workaround to make it pass on arm-linux-gnueabi /
arm-none-eabi targets: move -mfloat-abi=hard to dg-additional-options
such that it appears after the other options.

Is that OK?

Thanks,

Christophe

2018-04-03  Christophe Lyon  <christophe.l...@linaro.org>

* gcc.target/arm/armv8_2-fp16-move-1.c: Move -mfloat-abi=hard to
dg-additional-options.

Attachment: armv8_2-fp16-move-1.patch3
Description: Binary data

Reply via email to