[cfe-commits] [PATCH] - gcc compat: -ffast-math does not set __FINITE_MATH_ONLY__.

Michael Gottesman mgottesman at apple.com
Wed Jul 18 17:00:53 PDT 2012


The attached patch fixes the following gcc compatibility issues:

      1.-ffast-math does not set the __FINITE_MATH_ONLY__ preprocessor symbol to 1, while llvm-gcc does do so.
      2. -ffinite-math-only does not set the __FINITE_MATH_ONLY__ preprocessor symbol to 1, while llvm-gcc does do so.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 4809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120718/5466e861/attachment.obj>
-------------- next part --------------




More information about the cfe-commits mailing list