Artifacts Associated With Ticket 0aa8f12dcc
Ticket change [a103551af3] (rid 133267) by dgp on 2013-08-13 18:44:04:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Sorry I did not catch this sooner; have not been testing the novem branch regularly. Starting with checkin http://core.tcl.tk/tcl/info/19ff9b95e1 two tests are failing on x86_64 linux: ==== mathop-21.3 unary ops, negation FAILED ==== Contents of test case: set res {} lappend res [TestOp - 7.2] lappend res [TestOp - -5] lappend res [TestOp - -2147483648] ;# -2**31 lappend res [TestOp - -9223372036854775808] ;# -2**63 lappend res [TestOp - 354657483923456] ;# wide lappend res [TestOp - 123456789123456789123456789] ;# big set res ---- Result was: -7.2 5 2147483648 {2:(-9223372036854775808 != 9223372036854775808)} -354657483923456 -123456789123456789123456789 ---- Result should have been (exact matching): -7.2 5 2147483648 9223372036854775808 -354657483923456 -123456789123456789123456789 ==== mathop-21.3 FAILED ==== mathop-26.2 misc ops, corner cases FAILED ==== Contents of test case: set res {} lappend res [TestOp - 0 -2147483648] ;# -2**31 lappend res [TestOp - 0 -9223372036854775808] ;# -2**63 lappend res [TestOp / -9223372036854775808 -1] lappend res [TestOp * 2147483648 2] lappend res [TestOp * 9223372036854775808 2] set res ---- Result was: 2147483648 -9223372036854775808 9223372036854775808 4294967296 18446744073709551616 ---- Result should have been (exact matching): 2147483648 9223372036854775808 9223372036854775808 4294967296 18446744073709551616 ==== mathop-26.2 FAILED Novem Tcl no longer knows how to subtract integer values at the LONG_MAX boundary correctly. If I do the merges claimed for that checkin myself, I get working code. Comparing with that checkin, I see that a large number of #ifndef TCL_WIDE_INT_IS_LONG guards and the like have been removed in additon to the merge. Something in that additional change is the cause of the breakage. - foundin initialized to: "novem"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "48. Number Handling"
- title initialized to: "mathop tests broken on novem"
- type initialized to: "Bug"
Ticket change [1795c8b026] (rid 133268) by dgp on 2013-08-13 18:44:38:
- assignee changed to: "jan.nijtmans"
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
Ticket change [f3deeb5b62] (rid 133272) by dgp on 2013-08-13 19:28:05:
- icomment:
I committed to novem branch the minimum code restoration needed to make the failing tests pass again. Leaving the ticket open in case other aspects of that checkin need some review for errors that might not be covered in the test suite.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [30811cacaa] (rid 133302) by jan.nijtmans on 2013-08-14 14:15:16:
- closedate changed to: "2456519.09393801"
- closer changed to: "jan.nijtmans"
- icomment:
Hm, I don't remember committing that, but I remember experimenting with this in the novem branch. Apparently when I did the "merge trunk" I still had local changes in my environment which I forgot about, that's bad. Should be restored now in full, this was not intended to be committed at all!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"