.
D 2006-10-06T07:29:42
J assignee nobody
J cmimetype text/plain
J comment Tcl\sversion\s:\score-8-4-branch\nmakefile.vc\sversion\s:\s1.100.2.9\ngeneric/tclCompile.h\s:\s1.33\nCompiler\s:\sMSVC\s8.0\nprocessor\s:\sXeon\s64\sEMT64\nWindows\sXP\s64\n\nWhen\srunning\sTcl,\sI\sget\sthe\sfollowing\s:\n\n----------------\nRun-Time\sCheck\sFailure\s#1\s-\sA\scast\sto\sa\ssmaller\sdata\s\ntype\shas\scaused\sa\sloss\nof\sdata.\s\sIf\sthis\swas\sintentional,\syou\sshould\smask\s\nthe\ssource\sof\sthe\scast\nwith\sthe\sappropriate\sbitmask.\s\sFor\sexample:\n\n\schar\sc\s=\s(i\s&\s0xFF);\n\nChanging\sthe\scode\sin\sthis\sway\swill\snot\saffect\sthe\s\nquality\sof\sthe\sresulting\noptimized\scode.\n\n--------------\n\npointing\sto\s\sTclStoreInt4AtPtr\sand\ssimilar\smacros.\n\nthe\sproblem\sseems\sto\sdisappear\sif\sI\schange,\ssay,\s\nTclStoreInt4AtPtr\sto\s\n\n#define\sTclStoreInt4AtPtr(i,\sp)\s\\\n\s\s\s\s*(p)\s\s\s=\s(unsigned\schar)\s(0xFF\s&\s((unsigned\sint)\s\n(i)\s>>\s24));\s\\\n\s\s\s\s*(p+1)\s=\s(unsigned\schar)\s(0xFF\s&\s((unsigned\sint)\s\n(i)\s>>\s16));\s\\\n\s\s\s\s*(p+2)\s=\s(unsigned\schar)\s(0xFF\s&\s((unsigned\sint)\s\n(i)\s>>\s\s8));\s\\\n\s\s\s\s*(p+3)\s=\s(unsigned\schar)\s(0xFF\s&\s((unsigned\sint)\s\n(i)))\n\nThis\salso\sapplies\sto\sTclEmitInstInt4.\n\nI've\sattached\sthe\stclCompile.h\s\sI\sended\sup\swith.\nNote\sthat\sI\shave\snot\sdone\sany\stesting\sto\ssmoke\sout\s\nany\sbugs\sthat\smay\shave\sresulted\sfrom\sthe\sabove\s\nmodifications.\n
J foundin obsolete:\s8.4.14
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter andersmoe
J subsystem 52.\sPortability\sSupport
J title Xeon64\sdata\sloss\sfrom\scasting
J type Bug
K 1571954fffffffffffffffffffffffffffffffff
U andersmoe
Z a90f9830516bdc2623448df2800bd79e