Skip to content
Tcl Source Code Artifact [79eee7a61e]
Login

Artifact [79eee7a61e]

Artifact 79eee7a61e1a8ed99c0674529a39e2a50a6f0407:

Ticket change [79eee7a61e] - New ticket [1783544fffffffff|1783544fff] <i>TclIsNaN may get &quot;optimized away&quot;</i>. by kot on 2007-08-28 17:33:14.
D 2007-08-28T17:33:14
J assignee nobody
J cmimetype text/plain
J comment When\scompiling\son\sSolaris\s10\susing\sthe\slatest\sSun\sStudio\s12\scompiler\s(with\s``-fast\s-xO3''),\sthe\scurrent\simplementation\sof\sthe\sTclIsNaN\smacro\s(generic/tclInt.h:3370\s``((d)\s!=\s(d))'')\sgets\soptimized\saway\sand\snever\sreturns\strue.\sThis\scauses\sthings\slike\sTcl_PrintDouble\sto\scrash,\swhen\spassed\sa\sNaN\snumber.\n\nThe\sattached\spatch\schanges\sthe\smacro\s(and\sthe\sadjacent\sone)\sto\suse\sthe\sstandard\sones\sdefined\sin\smath.h.\n\nThere\s/could/\sbe\splatforms,\swhere\sthese\sstandard\smacros\saren't\spresent\s--\sthey\swould\sneed\sto\sbe\shandled\sseparately...
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter kot
J subsystem None
J title TclIsNaN\smay\sget\s"optimized\saway"
J type Bug
K 1783544fffffffffffffffffffffffffffffffff
U kot
Z f18c6ea075326894b13b8d7de60602c6