Re: Clang as default compiler November 4th

From: Stefan Farfeleder <stefanf_at_FreeBSD.org>
Date: Thu, 13 Sep 2012 18:25:37 +0200
On Thu, Sep 13, 2012 at 09:10:24AM -0700, Steve Kargl wrote:
> clang -O2 -pipe -march=opteron -O0 -lm  test-cexp.c  -o test-cexp
> test-cexp.c:49:14: warning: pragma STDC FENV_ACCESS ON is not supported, ignoring pragma [-Wunknown-pragmas]
> #pragma STDC FENV_ACCESS        ON

[...]

> So, clang does not support "#pragma STDC FENV_ACCESS ON".
> That (IMHO) is a show stopper for clang as the default compiler,
> because at least msun/src/e_sqrtl.c uses this pragma.

Neither does gcc, AFAIK (http://gcc.gnu.org/c99status.html). It just
silently ignores the pragma.

Stefan
Received on Thu Sep 13 2012 - 14:25:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC