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

Asiri Rathnayake asiri.rathnayake at arm.com
Wed Sep 24 10:22:54 PDT 2014


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

Ok to commit then? The remaining warning is for:

-mfloat-abi=soft -mfpu=<some_fpu>

Here we're warning that -mfpu will be ignored, because at the moment -mfloat-abi=soft also means -msoft-float. Perhaps I should get rid of this warning, as the "correct" interpretation of the two flags actual makes sense. WDYT?

Thanks.

-- Asiri

http://reviews.llvm.org/D5460






More information about the cfe-commits mailing list