[PATCH] [ARM] Handle conflicts between -mfpu and -mfloat-abi options

Renato Golin renato.golin at linaro.org
Wed Sep 24 08:16:14 PDT 2014


>>! In D5460#9, @rmaprath wrote:
> After a quick look at gcc options [1], it seems getting rid of -mfloat-abi=softfp would break compatibility. So, something like -mfloat-abi=softfp -mfpu=none still deserves a warning. Even worse for -mfloat-abi=hard -mfpu=none.

We shouldn't get rid of -mfloat-abi=softfp, I agree. The warning is relevant there, as this is *also* a hack in GCC.

cheers,
--renato

http://reviews.llvm.org/D5460






More information about the cfe-commits mailing list