Recover the proved TCCSID UTF-8 conversion and ON-EXIT RETURN #596

Manually merged
binjovi-bot merged 1 commit from rpg-9-r-ccsid2-20261021 into trunk 2026-10-22 10:58:49 +00:00
Owner

Round 9 track R2/R6: recover the proved TCCSID UTF-8 conversion and the RETURN before an ON-EXIT END-PROC.

  • New rpg_ccsid_convert.zig: exact 98-operation proof of the Q_UTF8 conversion. Emits V = A and varchar(20) ccsid(1208). One shape only (storage 22 bytes, 20 elements, CCSID 1208). Wrong helpers, widths and parameters stay unrecovered.
  • New rpg_return_prefix.zig: emits the proved RETURN before an ON-EXIT END-PROC. The end obligations stay failures.
  • Leak fix in rpg_ucs2.rewrite. rpg_statements.zig net -2 lines.
  • New public fixture SC-ILE/EXPERIMENTS/r9r-ccsid.

Gates on base 4c23ed1d (baseline built from the same commit, R built with ReleaseSafe in the zig-builder v22 image):

gate result
full Build v22 check exit 0
twins 391 -> 392 groups, 379 -> 380 recovered, 0 missing, 0 regressions
all-groups 9142 -> 9149; 0 missing, 0 regressions, 0 worse; newly recovered: TCCSID 1
emission worse [], better 2 (TCCSID, end-on-exit), failures 701 -> 700, clean 192 -> 193

Not run here: the no-RETURN procedure count and the pub400 round trip.

Round 9 track R2/R6: recover the proved TCCSID UTF-8 conversion and the RETURN before an ON-EXIT END-PROC. - New `rpg_ccsid_convert.zig`: exact 98-operation proof of the `Q_UTF8` conversion. Emits `V = A` and `varchar(20) ccsid(1208)`. One shape only (storage 22 bytes, 20 elements, CCSID 1208). Wrong helpers, widths and parameters stay unrecovered. - New `rpg_return_prefix.zig`: emits the proved `RETURN` before an ON-EXIT END-PROC. The end obligations stay failures. - Leak fix in `rpg_ucs2.rewrite`. `rpg_statements.zig` net -2 lines. - New public fixture `SC-ILE/EXPERIMENTS/r9r-ccsid`. Gates on base `4c23ed1d` (baseline built from the same commit, R built with ReleaseSafe in the zig-builder v22 image): | gate | result | |---|---| | full Build v22 check | exit 0 | | twins | 391 -> 392 groups, 379 -> 380 recovered, 0 missing, 0 regressions | | all-groups | 9142 -> 9149; 0 missing, 0 regressions, 0 worse; newly recovered: TCCSID 1 | | emission | worse [], better 2 (TCCSID, end-on-exit), failures 701 -> 700, clean 192 -> 193 | Not run here: the no-RETURN procedure count and the pub400 round trip.
Recover the proved TCCSID UTF-8 conversion and the RETURN before an ON-EXIT end
All checks were successful
binjovi/ci Binjovi completed the frozen plan
9ff4ebd96c
Emit the exact 98-operation Q_UTF8 conversion proof as a varchar(20)
ccsid(1208) assignment. Emit the proved RETURN before an ON-EXIT END-PROC;
the end obligations stay failures. Fix a leak in rpg_ucs2.rewrite.

Gates on 4c23ed1d: full Build v22 check exit 0; twins 391 -> 392 groups, 0
regressions; all-groups 0 missing, 0 regressions, 0 worse; emission 0 worse,
failures 701 -> 700, clean 192 -> 193.
binjovi-bot manually merged commit 9ff4ebd96c into trunk 2026-10-22 10:58:49 +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!596
No description provided.