GCC Bugzilla – Bug 20785
Pragma STDC * (C99 FP) unimplemented
Last modified: 2010-09-23 12:40:27 UTC
#pragma STDC CX_LIMITED_RANGE off
is currently unimplemented, and generates the warning:
warning: ignoring #pragma STDC CX_LIMITED_RANGE
We know. I'm not sure how much use there is opening PRs for major points listed
as Missing at <http://gcc.gnu.org/c99status.html> unless there are particular
subtle points which might be missed in implementation which would be better
noted in a PR.
Stephen Moshier started a C99 pragma implementation some time ago. I have his
code (version of June 2001, not a complete implementation, only does anything
with FENV_ACCESS) and at least the testcases might be useful; I'll attach the
files to this bug as we may as well use the bug now it's open.
Created attachment 8543 [details]
Stephen Moshier's patch from 2001.
Created attachment 8544 [details]
Stephen Moshier's testcases from 2001.
I opened the PR so I would have a tangible place to point to in a FIXME in some
code, saying "when this bug is fixed, uncomment this." Perhaps though, for
things of this sort, it would be better to point to the status page. However,
one can add oneself to the CC list for a bug much easier than he can add himself
to the "CC list" for a webpage.
*** Bug 29186 has been marked as a duplicate of this bug. ***
*** Bug 39036 has been marked as a duplicate of this bug. ***