[cfe-commits] Adding the -no-implicit-float for ARM

Chad Rosier mcrosier at apple.com
Fri May 11 12:27:56 PDT 2012


We have an internal need (see rdar://11409142) for a command line option that will cause the noimplicitfloat attribute to be added to functions when compiling for ARM.  On X86, passing the -msoft-float option to the driver will cause it to add the -no-implicit-float option when it invokes clang -cc1, and this results in the behavior we're looking for. Unfortunately, we can't use -msoft-float on ARM, because it's already defined to mean something else.  Would it be reasonable to just have the driver pass the -no-implicit-float option through to cc1 for ARM?

 Chad




More information about the cfe-commits mailing list