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

Bob Wilson bob.wilson at apple.com
Wed Jul 18 20:53:32 PDT 2012


LGTM.  Committed as svn r160491

On Jul 18, 2012, at 5:00 PM, Michael Gottesman <mgottesman at apple.com> wrote:

> 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.
> 
> <patch>
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list