Recover a whole-element store at a variable array index (touches rpg_eval.zig) #726

Manually merged
binjovi-bot merged 2 commits from lc-label-op15 into trunk 2026-11-04 22:29:13 +00:00
Owner

A whole-element store at a variable index recovers

The bounds check of a variable array index defines two labels (operation 15).
rpg_array_element.zig owned them only when a load of the element followed,
so names(i) = 'JKLMNOPQR' (SC-ILE/EXPERIMENTS l3b-elem-var statement 8)
stopped at control_flow / operation_semantics on operation 15. The unit now
also ends at 65 W when a constant and the typed store of the whole element
(27 C; 42 A 0 TE, TE a character type of the element width) follow. The new
pseudo-operation op_element_address pushes the element address, and the
store arm of rpg_eval.zig writes A(N) = value and records the
array_element_v1 fact. Stores of a part of an element and integer parts
are still open.

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"regenerated","emit":{"worse":[],"better":0,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/l3b-elem-var/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":1085}}
# A whole-element store at a variable index recovers The bounds check of a variable array index defines two labels (operation 15). `rpg_array_element.zig` owned them only when a load of the element followed, so `names(i) = 'JKLMNOPQR'` (SC-ILE/EXPERIMENTS l3b-elem-var statement 8) stopped at control_flow / operation_semantics on operation 15. The unit now also ends at `65 W` when a constant and the typed store of the whole element (`27 C; 42 A 0 TE`, TE a character type of the element width) follow. The new pseudo-operation `op_element_address` pushes the element address, and the store arm of `rpg_eval.zig` writes `A(N) = value` and records the `array_element_v1` fact. Stores of a part of an element and integer parts are still open. ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"regenerated","emit":{"worse":[],"better":0,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/l3b-elem-var/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":1085}} ```
sean changed title from A whole-element store at a variable index recovers to Recover a whole-element store at a variable array index (touches rpg_eval.zig) 2026-11-04 22:16:42 +00:00
binjovi-bot manually merged commit aeedadbf5e into trunk 2026-11-04 22:29:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!726
No description provided.