Overview
| Artifact ID: | 71661ee2158ff84c49472a283acdcdd4076d1f8b |
|---|---|
| Ticket: | 1783544fffffffffffffffffffffffffffffffff
TclIsNaN may get "optimized away" |
| User & Date: | kennykb on 2007-09-04 03:47:03 |
Changes
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=99768 Originator: NO From the Sun Studio 12 documentation: "The –fast option is unsuitable for programs that require strict conformance to the IEEE 754 Standard." In particular, I see that '-fast' implies '-fsimple=2', which will break NaN behaviour in other areas as well. We *may* be able to get away with '-fast -fsimple=0' or we may need to enumerate optimization flags specifically. Also there unquestionably *are* platforms (at least MSVC prior to VS2005) that fail to implement isnan() correctly. I'd strongly prefer to do whatever's necessary with the compilation flags. I don't have a Solaris box to test on any more. The standard configurator appears not to include '-fast -xO3' in the flags; does this occur with a stock build, or only when you hack the Makefile? Don, do you have any further comments here?
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"