Rebuild the display member of a program with source statement numbers #600

Manually merged
binjovi-bot merged 2 commits from rpg-9-d4-fix-20261022 into trunk 2026-10-22 13:01:00 +00:00
Owner

Round 9 track D, item D4: rebuild the display member of a program compiled with OPTION(*SRCSTMT).

The member was refused by construction: rpg_source.zig passed no place for the generated file specifications when the statement numbers are source sequence numbers, so rpg_file_device returned TODO [blocks] a display file of a program with source statement numbers: not rebuilt. This is the blocking DDS TODO of the held-out exam. With *SRCSTMT those specifications are compiler statements (1000000+ input, 2000000+ output), so Place.ofCompiler takes the input and output blocks from them (the output block starts at its record line, which has no statement) and the existing layout runs.

This branch contains the probe commit of #599 (d4-srcstmt-dspf); the two merge together.

Gates on base v0.1.310 (baseline saved from the installed release, same commit):

gate result
full Build v22 check exit 0 (the first run crashed 9 tests on a length mismatch in Place.ofCompiler; guarded, with a test)
twins 392 -> 393 groups (the probe), 0 missing, 0 regressions
all-groups 0 missing, 0 regressions, 0 worse
emission worse [], better 1 (files-display-write), failures 700 -> 701 (the probe adds 2 compiler-statement failures, files-display-write loses 1)

Known remaining gap, written into the test and DUMP.md: the compiler start of the cycle of d4-srcstmt-dspf is still a partial compiler statement with source statement numbers; the same program without them recovers it.

Round 9 track D, item D4: rebuild the display member of a program compiled with `OPTION(*SRCSTMT)`. The member was refused by construction: `rpg_source.zig` passed no place for the generated file specifications when the statement numbers are source sequence numbers, so `rpg_file_device` returned `TODO [blocks] a display file of a program with source statement numbers: not rebuilt`. This is the blocking DDS TODO of the held-out exam. With `*SRCSTMT` those specifications are compiler statements (1000000+ input, 2000000+ output), so `Place.ofCompiler` takes the input and output blocks from them (the output block starts at its record line, which has no statement) and the existing layout runs. This branch contains the probe commit of #599 (`d4-srcstmt-dspf`); the two merge together. Gates on base `v0.1.310` (baseline saved from the installed release, same commit): | gate | result | |---|---| | full Build v22 check | exit 0 (the first run crashed 9 tests on a length mismatch in `Place.ofCompiler`; guarded, with a test) | | twins | 392 -> 393 groups (the probe), 0 missing, 0 regressions | | all-groups | 0 missing, 0 regressions, 0 worse | | emission | worse [], better 1 (`files-display-write`), failures 700 -> 701 (the probe adds 2 compiler-statement failures, `files-display-write` loses 1) | Known remaining gap, written into the test and DUMP.md: the compiler start of the cycle of `d4-srcstmt-dspf` is still a partial compiler statement with source statement numbers; the same program without them recovers it.
Add the d4-srcstmt-dspf probe
All checks were successful
binjovi/ci Binjovi completed the frozen plan
70751822ab
With OPTION(*SRCSTMT) the generated file specifications are compiler
statements. Place.ofCompiler takes the input and output blocks from them, so
rpg_file_device rebuilds the member as it does without source statement
numbers. d4-srcstmt-dspf now rebuilds CF072 with 0 blocked members; the
compiler start of the cycle stays partial (2 failure lines).
Place.ofCompiler: empty when the plan holds no generated lines
All checks were successful
binjovi/ci Binjovi completed the frozen plan
31f4d0b9c1
binjovi-bot manually merged commit 31f4d0b9c1 into trunk 2026-10-22 13:01:00 +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!600
No description provided.