Bug 20785 - Pragma STDC * (C99 FP) unimplemented
Pragma STDC * (C99 FP) unimplemented
Status: NEW
Product: gcc
Classification: Unclassified
Component: c
: P2 enhancement
: ---
Assigned To: Not yet assigned to anyone
: 39036 (view as bug list)
Depends on:
Blocks: 16989
  Show dependency treegraph
Reported: 2005-04-06 09:06 UTC by Aaron W. LaFramboise
Modified: 2010-09-23 12:40 UTC (History)
5 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2005-12-18 01:44:52

Stephen Moshier's patch from 2001. (13.08 KB, text/plain)
2005-04-06 11:22 UTC, Joseph S. Myers
Stephen Moshier's testcases from 2001. (1.99 KB, application/octet-stream)
2005-04-06 11:23 UTC, Joseph S. Myers

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. LaFramboise 2005-04-06 09:06:47 UTC

is currently unimplemented, and generates the warning:

warning: ignoring #pragma STDC CX_LIMITED_RANGE
Comment 1 Joseph S. Myers 2005-04-06 11:21:41 UTC
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.
Comment 2 Joseph S. Myers 2005-04-06 11:22:49 UTC
Created attachment 8543 [details]
Stephen Moshier's patch from 2001.
Comment 3 Joseph S. Myers 2005-04-06 11:23:58 UTC
Created attachment 8544 [details]
Stephen Moshier's testcases from 2001.
Comment 4 Aaron W. LaFramboise 2005-04-06 12:13:10 UTC
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.
Comment 5 Andrew Pinski 2006-09-22 19:27:59 UTC
*** Bug 29186 has been marked as a duplicate of this bug. ***
Comment 6 Richard Biener 2009-01-30 07:19:40 UTC
*** Bug 39036 has been marked as a duplicate of this bug. ***