[llvm-commits] [llvm-gcc-4.2] r63322 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

Chris Lattner clattner at apple.com
Thu Jan 29 10:52:39 PST 2009


On Jan 29, 2009, at 10:51 AM, Eli Friedman wrote:

> On Thu, Jan 29, 2009 at 10:40 AM, Chris Lattner <clattner at apple.com>  
> wrote:
>> Since the program is already non-portable (at least to macs) and  
>> C99 doesn't
>> require this
>
> Sort of... the standard defines a macro "math_errhandling" in math.h
> which allows dealing with this portably.  That said, it appears the
> glibc math.h doesn't define it, so likely nobody cares...

GCC doesn't support most of the interesting C99 numeric control  
pragmas (For declaring rounding mode sensitivity etc).  It would be  
interesting for clang to support this someday though,

-Chris



More information about the llvm-commits mailing list