[Bug target/67929] [4.9/5/6 Regression][arm] Wrong code for FP mult-by-power-of-2 + int conversion

clyon at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 28 08:03:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67929

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #7 from Christophe Lyon <clyon at gcc dot gnu.org> ---
I think the testcase or check_effective_target_arm_vfp3_ok needs an adjustment:
when GCC is configured for arm-none-linux-gnueabihf, since the test is compiled
with -mfloat-abi=softfp, there is an error at link time because the crt*.o
files are compiled with float-abi=hard, and thus conflict with pr67929_1.o.

This is because check_effective_target_arm_vfp3_ok only checks whether a
*compilation* with -mfloat-abi=soffp works, and does not check that a link
actually works.



More information about the Gcc-bugs mailing list