Artifacts Associated With Ticket e078712465
Ticket change [ff92d494f5] (rid 140733) by dgp on 2014-11-21 21:27:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The array "operatorStrings" in tclExecute.c is commented to need matching up with the opcode lists in tclCompile.h. It doesn't match. It's missing an empty string. There are 8 empty strings between "FUNCTION" and "eq" and there need to be 9. Coverity apparently detected (1251249?) there was something wrong, and declared it a off by one. See the commit http://core.tcl.tk/tcl/info/12524da9f5 where an attempt to fix was committed. It's the wrong fix though. The true error is in the data, not in the code. A good test in the test suite followed by the proper fix is the right way forward.
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "operatorStrings missing an empty string"
- type initialized to: "Bug"
Ticket change [164b589341] (rid 140739) by dgp on 2014-11-22 19:06:39:
- icomment:
The true fix is even easier. There's no need for operatorStrings to extend beyond INST_LNOT. Patch coming soon.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [64dc66aee9] (rid 140740) by ferrieux on 2014-11-22 22:47:14:
- icomment:
It would seem cleaner to allocate an full array of size LAST_INST_OPCODE, initialized by a macro-repetitive function, instead of relying on specific ranges of opcodes to belong to specific semantic families (which is not the case; opcode simply grow monotonically over time).
- login: "ferrieux"
- mimetype: "text/plain"
- icomment:
Ticket change [08329acb70] (rid 140746) by dgp on 2014-11-24 03:09:25:
- closedate changed to: "2456985.63154655"
- closer changed to: "dgp"
- icomment:
"Fix the hack" applied to active branches. Agree that a more appealing longer term fix would be "merge the hacks" or even re-work so that needed functionality is present without hacks. Not today.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"