Align tiZiString case-loop increment order with original #1121
Reference in New Issue
Block a user
Delete Branch "agent/bittle/tizi-case-increment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope and result
43U only. Move the case loop's ++position from its body to the for-increment expression, after ++candidate. All declarations, initializers, switch/helper calls, scopes and other source remain fixed. Built-in comma sequences the two independent scalar updates in target order; there is no continue or body exit bypassing either update.
Independent parent verification
Fresh full default43U/ok on57c17ebe2a7b3788cbbbf54f7dc9a9fb35abaec8. All1027 current-main objects/reports compared, only owned unit/update changes, no function/exact/code/data/link regressions. Fresh object equals frozen candidate. Tested tree028db32424288149313259fa8d1d000c62bfee87.
Parent reviewed and reran actual ELF/instruction commutation checker and eight negative self-tests. The two addi instructions have disjoint register effects, no memory/call/branch/CR/XER effects, and identical complete state at0x114C. No alternate edge enters the second increment. Remaining instruction/CFG/memory/call order is identical; actual save/restore slots remain unchanged. Source equivalence is for defined executions; malformed global bounds/termination are not fixed or claimed safe.
One precise nonallocated compiler metadata change is explicitly audited: .strtab byte210 renumbers @1391→@1393 on the same STB_LOCAL/STT_OBJECT symbol index11, section3 offset12 size48. Full symbol entry, allocated data and both relocation references at .rela.text0x141A/0x1422 are byte-identical. Every section header and all other nontext bytes are unchanged. This is not a blanket symbol/string-table exception.
Pool identical/empty. Literal audit27functions, no candidates/errors; unequal-sized update/clearCandidates explicitly skipped. DOL SHA1:26116613f624061ba99c8d1a299aaa6efa85670d. Clean worktree/diff gates pass. One candidate only, no adaptive variants. Evidence/checker hash committed; original executable artifacts stay local. No merge performed or requested.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.