[cfe-commits] r44058 - in /cfe/trunk: Sema/SemaExpr.cpp test/Sema/floating-point-compare.c

Neil Booth neil at daikokuya.co.uk
Tue Nov 13 14:45:35 PST 2007


Chris Lattner wrote:-

> 
> On Nov 13, 2007, at 11:17 AM, Ted Kremenek wrote:
> 
> > Author: kremenek
> > Date: Tue Nov 13 13:17:00 2007
> > New Revision: 44058
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=44058&view=rev
> > Log:
> > Modified -Wfloat-equal logic to suppress warnings where floating  
> > point values
> > are compared against builtins such as __builtin_inf.

More generally, should it be suppressed for comparisons against
any FP constant that is exact as written?

Neil.



More information about the cfe-commits mailing list