[PATCH] [ARM] Handle conflicts between -mfpu and -mfloat-abi options
Asiri Rathnayake
asiri.rathnayake at arm.com
Wed Sep 24 07:30:42 PDT 2014
>>! In D5460#7, @rengolin wrote:
> I agree, but making these warnings on -mfloat-abi doesn't make sense.
Hi Renato,
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.
GCC gets away with this because they do not have a -mfpu=none option.
WDYT?
[1] https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
http://reviews.llvm.org/D5460
More information about the cfe-commits
mailing list