[cfe-dev] -frounding-math and llvm?

Jack Howarth howarth at bromo.med.uc.edu
Wed Aug 3 17:14:52 PDT 2011


On Wed, Aug 03, 2011 at 09:48:43AM -0700, Chris Lattner wrote:
> 
> On Aug 3, 2011, at 9:45 AM, Jack Howarth wrote:
> 
> >>> Thanks in advance for any clarifications on the status of -frounding-math in the llvm
> >>> based compilers.
> >> 
> >> Not supported, and I don't know of anyone who plans on working on it
> >> (or FENV_ACCESS) in the near future.
> > 
> > Eli,
> >   Is this the same situation with llvm-gcc? I don't see the warnings from llvm-gcc
> > but we do see the same failures in ppl's testsuite. Is this a case of llvm-gcc silently not supporting
> > -frounding-math?
> 
> Yep, llvm-gcc just accepts and ignores the flag.
> 
> -Chris

Yikes. That seems rather evil. Shouldn't llvm-gcc at least emit that same warning
as clang to give the user notice that -frounding-math is not really implemented?
         Jack



More information about the cfe-dev mailing list