Currently we allow combinations of options like the ones below:
./clang -target <...> -mfpu=vfp4 -mfloat-abi=soft ... ./clang -target <...> -mfloat-abi=hard -mfpu=none ...
Such usage should be warned / prevented because those options conflict in meaning. This patch implements the following scheme when presented with such options:
-mfloat-abi=soft -mfpu=FPU => warn, ignore the FPU, use soft-float
-mfloat-abi=softfp -mfpu=none => warn, use soft-float
-mfloat-abi=hard -mfpu=none => downgradable error, use soft-float
why not put this at the end of the argument list and make it NULL by default?