The whole-structure INZ image store of a local data structure no longer counts as a subfield at byte 0 #808

Manually merged
binjovi-bot merged 7 commits from linz into trunk 2026-11-16 19:27:51 +00:00
Owner

The whole-structure INZ image store of a local data structure no longer counts as a subfield at byte 0

DCL-DS DataDS QUALIFIED INZ; Num INT(10); Key INT(10); Length INT(10); Data CHAR(20); END-DS;
in a procedure or main() stores its 32 bytes once, in the initialization segment of the procedure
(27 C; 37 S 0 T, T a character of 32 bytes, the length of S). partTypes counted that store as a
subfield store at byte 0, so DataDS.Num = 1 (42 S 0 T, an integer) had two types at byte 0 and
failed as A261.0 = 1 (A261.0: 2 types); the structure was declared with G0 char(4) inz(x'00000000') and lost its INZ. After this change the image store does not clash with an
integer subfield at byte 0, and it gives the type of byte 0 only when nothing else does. dev5/p1
emits V00261.F0 = 1; and dcl-ds V00261 qualified inz; with F0 int(10); F4 int(10); F8 int(10); F12 char(20);; its failure lines go from 14 to 13.

Only src/core/rpg_source_parts.zig changes (imageStore, partTypes). The test file is
src/rpg_ds_inz_test.zig (registered in src/root.zig); the twin is
SC-ILE/EXPERIMENTS/linz-p1-chgobjarg (the dev5/p1 capture, MIT source, 119 lines).

What changes across the public twins

Every stripped twin under src/testdata (1970 programs, before the four battery twins below) was emitted with the binary of trunk
(fdb37831) and with this branch, and the files compared: exactly two differ.

  • linz-p1-chgobjarg (14 to 13 failure lines, 10 to 11 emitted): the structure above.
  • ldsv-asyncprom (291 to 288 failure lines, 330 to 333 emitted): main() declares
    orders likeds(orders_t) inz (count int(10) first), captureError declares
    ec likeds(errc_t) inz(*likeds) (bytesProv int(10) first). The new lines are
    F0 int(10); F4 int(10); F8 packed(9:2) with F0 = 3, F4 = 101, F8 = 250 (the source's
    orders.count = 3; orders.order(1).id = 101; orders.order(1).amount = 250) and
    F0 int(10); F4 int(10); G8 char(264) with F0 = 272 (ec.bytesProv = %size(ec): 4 + 4 + 7 + 1 +
    256 = 272). The statements and the subfield types agree with the source of the twin; the three structures are still declared without the INZ the source has (the failure lines of that twin that remain belong to other families), and the third declaration is new. This is the second twin of an integer first
    subfield under a structure-level INZ.

Every other twin emits byte for byte as before.

The probe pairs, and what each decides

The host answered again at 13:23 on 2026-11-15 and the battery of requests/linz/ds-inz was
captured: 15 of 15, 0 dropped (capture.sh, 1198 s). Each pair differs in the word INZ alone.
The four that decide the rule are committed as twins (linz-f01, linz-f02, linz-g01,
linz-g02 under SC-ILE/EXPERIMENTS); the others are in
~/data/sourcerer-loop/captures/linz-ds-inz.

pair shape image store 27 C; 37 S 0 T before after
f01 / f02 dcl-ds d qualified (inz) of int(10) x3, char(20) in main() f01: one, in the final statement (14, END-PROC) of M; f02: none f01: A254.0 = 1 (2 types), the DS declared G0 char(4) inz(x'00000000') without its INZ f01 emits as the source (qualified inz, F0 int(10), F0 = 1), 0 failures; f02 unchanged, 0 failures
g01 / g02 the same structure global, main(m) g01: one, in _QRNI_GLOBAL statement 1000001; g02: none S254.0: 2 types unchanged: refused (see below)
d01 / d02 char(8) first, then int(10), local, inz or not d01: one, 12 bytes, in the final statement (13) of W; d02: none 0 failures, G0 char(8), V00253 = 'abc' for d.c = 'abc' unchanged byte for byte (d02, with no image, emits the same text)
a01 / a02 int(10) x2 local none in either END-PROC unresolved in a01 (another family) unchanged
b01 / b02, c01 / c02 the structure global in main(), or in the cycle none in either no declaration of symbol (the initial value has no rule) unchanged
e01, e02, e03 e01 char(32) inz(*blanks), e02 a char(32) under a structure-level INZ, e03 char(8) inz('abc') first in a structure with no structure-level INZ e01, e02: none; e03: one, 12 bytes (the whole structure), in the final statement (13) of W 0 failures unchanged

Facts the pairs decide:

  1. The image store is made by an INZ inside the structure, in the final statement of the procedure
    that declares it.
    f01 has it, f02 has none; e03, with the INZ on a subfield only, has a 12-byte one,
    the whole structure. It is 27 C; 37 S 0 T with T the character type of the length of S (32 bytes
    in f01 and dev5/p1). In dev5/p1 it is I1160 27 449; I1161 37 261 0 15, in statement 119
    (END-PROC, [1102, 1183); rpg_init_layout). The value is the default image of the subfields.
  2. The statements of the subfields are other operations. d.num = 1 is 42 S 0 int(10); the other
    subfields are addressed (33 S; 27 K; 62 and the stack walk). The image has the type of the whole
    symbol, the subfield the type of its own field.
  3. The exemption is for an int(10) first subfield only. Captured: f01 and dev5/p1 (int(10)),
    and ldsv-asyncprom (orders likeds(orders_t) inz, count int(10); ec likeds(errc_t) inz(*likeds), bytesProv int(10)). When the other access at byte 0 is not an integer, partTypes
    still gives two types. d01 and e03 (a character first subfield beside the 12-byte image) emit no two
    types before and after, and their emit does not change; why they were spared was not examined.
    An int(3), int(5) or int(20) first subfield is not measured and still gives two types (test
    with a retyped p1). Not covered and not refusable yet: an INZ on one subfield beside an int(10)
    first subfield (n int(10); c char(8) inz('abc') with no structure-level INZ). e03 shows that a
    subfield INZ also makes the whole image, and nothing in the image bytes tells the two apart; it needs
    a capture and a round trip. The three ldsv-asyncprom structures now declare without the INZ of
    their source; their procedures keep END-PROC is unresolved (statements 55900, 89700, 159100), and
    the test asserts those lines.
  4. The global form is not covered, and stays refused. In g01 the image is in the global
    initialization procedure (_QRNI_GLOBAL), which the rule does not read, so S254.0 = 1 keeps its
    two types and the declaration keeps G0 char(4) inz(x'00000000') with the failure line. The pair
    g01 / g02 is the capture for the next change, which would read that store as the image of a global.
  5. A store that is not that image keeps clashing. The tests mutate the twin: the same operands
    as a 42, a narrower 37 (char(10)), the 37 placed outside the final statement of the
    procedure, a 37 with no constant load before it, and the integer stores of byte 0 retyped as a
    character. Each gives two types at byte 0 as before.
  6. With no other access at byte 0 the image keeps giving the type. A mutation of the twin, not a
    measurement: the test turns every 42 of the structure into another operation and partTypes
    still returns the char(32) of the store. Nothing captured shows that char(32) inz(*blanks)
    compiles to such a store (e01, e02: none beside the field), so no statement is claimed for it.

The round trip, and what was not measured

  • The round trip of dev5/p1 to the identical object: its emit still carries 13 failure lines of
    other families, so it was not recompiled. The round trip of the pair that decides the rule was
    measured (roundtrip.sh, 2026-11-15, pub400, sourcerer 0.1.999): the emit of f01 recompiles to a
    stripped object that matches the stripped twin (match none, 68 s), and so does the emit of f02
    (match none, 65 s).
  • The cycle form: the cycle programs (lr1-db-ds-c10-p50-k and others) carry 37 S 0 T stores in
    their one procedure, the program entry; the rule asks for the final statement of a subprocedure
    (Module.isSubprocedure, which excludes the cycle main), so none is read as an image. Whether those
    stores are whole-width stores of a data structure was not checked. c01 / c02 are unchanged.
  • Existing and unchanged by this branch, found by the battery. d01, d02 and e03 emit with 0 failures and
    do not round trip (roundtrip.sh: different; d01 and d02 in eight components, e03 in the
    instructions, control flow, symbols, constant area and compilation). d02 has no INZ and no image store
    and emits the same V00253 = 'abc' for d.c = 'abc', so the whole-structure assignment of a character
    first subfield is not caused by the image. a01 emits its structure without INZ
    (END-PROC is unresolved). These belong to other families, with no fix in this change.

The rule is that of the final statement of a subprocedure only.

Gate

== a. development emits (dev-hash)
p1 DIFFERENT
p2 same
p3 same
p4 same
p5 same
== b. L10-test direction
L10-test unchanged
== c. committed twins (emit-bytes-diff)
emit text differs:
diff -r -x emit.ndjson -x *.receipt.json /Users/someara/data/sourcerer-loop/runs/emitbytes.B5asva/base-emit/428-P389F4503S.rpgle /Users/someara/data/sourcerer-loop/runs/emitbytes.B5asva/head-emit/428-P389F4503S.rpgle
518c518
<     G0 char(4);
---
>     F0 int(10);
529c529
< // SOURCERER-FAIL statement 52300: A393.0 = 3 (A393.0: 2 types)
---
>   NEWTASK_00393.F0 = 3;
856c856
<     G0 char(4);
---
>     F0 int(10);
864c864
< // SOURCERER-FAIL statement 86400: A344.0 = 272 (A344.0: 2 types)
---
>   DESTROYTASK_00344.F0 = 272;
1583,1586c1583,1586
< 
< 
forms projection differs:
385c385
< {"twin":"savf/SC-ILE/EXPERIMENTS/ldsv-asyncprom/stripped","object":"P389F4503S","status":"done","statements":619,"emitted":330,"failures":291,"lines":1612,"form_counts":{"array_element_v1":16,"compiler_policy_marks_v1":46,"context_character_literal_v1":47,"context_pointer_store_v1":47,"context_procedure_pointer_store_v1":47,"context_zero_fill_v1":47,"direct_branch_v1":39,"emit_assign_based_v1":7,"emit_assign_field_v1":34,"emit_assign_part_v1":11,"emit_callp_v1":51,"emit_ctl_opt_v1":1,"emit_dcl_ds_v1":22,"emit_dcl_pi_v1":45,"emit_dcl_proc_v1":37,"emit_dcl_s_based_v1":1,"emit_dcl_s_v1":48,"emit_dow_v1":2,"emit_ds_filler_v1":16,"emit_ds_subfield_v1":22,"emit_else_v1":7,"emit_elseif_v1":2,"emit_end_ds_v1":9,"emit_end_pi_v1":45,"emit_end_proc_v1":43,"emit_enddo_v1":2,"emit_endfor_v1":2,"emit_endif_v1":56,"emit_for_v1":2,"emit_free_v1":1,"emit_if_v1":56,"emit_leave_v1":2,"emit_pi_parameter_v1":73,"emit_return_value_v1":20,"emit_summary_v1":2,"fail_declaration_v1":2,"fail_procedure_boundary_v1":20,"fail_statement_v1":265,"fail_trailer_v1":4,"initialization_entry_v1":46,"initialization_resume_v1":46,"integer_store_v1":47,"layout_blank_v1":702,"local_pointer_store_v1":43,"null_pointer_literal_v1":58,"placeholder_block_condition_v1":4,"placeholder_parameter_type_v1":11,"placeholder_return_value_v1":6,"procedure_blank_fill_v1":14,"procedure_character_literal_v1":27,"procedure_end_guard_v1":32,"procedure_exit_transfer_v1":50,"procedure_null_pointer_v1":3,"procedure_return_v1":46},"text_sha256":"5b5833eb5f9ae489e68b7a2b6dcb42a768d732c89528d65cbda401556dd23576"}
---
== d. captures (capture-emit-diff)
p1 base=[24,18,6] head=[24,19,5] CHANGED fail-lines=5
l10-async-asyncage base=[584,323,264] head=[584,325,262] CHANGED fail-lines=262
l10-async-asyncdemo base=[621,347,277] head=[621,349,275] CHANGED fail-lines=275
l10-async-asyncbg base=[597,329,270] head=[597,331,268] CHANGED fail-lines=268
l10-async-asynccncl base=[608,338,273] head=[608,340,271] CHANGED fail-lines=271
l10-async-asyncprom base=[619,330,291] head=[619,333,288] CHANGED fail-lines=288
l10-async-asynctime base=[630,354,280] head=[630,356,278] CHANGED fail-lines=278
linz-f01-p1shape-local-inz base=[6,5,1] head=[6,6,0] CHANGED fail-lines=0
capture-emit-diff: 59 cases, 8 changed, 17 with no failure line in the head emit
== e. source agreement (agree)
suspect        base=84 head=84
conflict       base=0 head=0
params_wrong   base=15 head=15
decl_missing   base=82 head=82
decl_extra     base=29 head=29
type_unmarked  base=50 head=50
== f. host round trips (both binaries)
cases to round-trip: 17
dev5/p3                                            base=match head=match
dev5/p4                                            base=match head=match
dev5/p5                                            base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match
linz-ds-inz/linz-a02-noinz-proc                    base=match head=match
linz-ds-inz/linz-b02-noinz-main                    base=match head=match
linz-ds-inz/linz-c02-noinz-cycle                   base=match head=match
linz-ds-inz/linz-d01-char0-inz-proc                base=different head=different
linz-ds-inz/linz-d02-char0-noinz-proc              base=different head=different
linz-ds-inz/linz-e01-whole-blanks-proc             base=different head=different
linz-ds-inz/linz-e02-whole-dsinz-proc              base=different head=different
linz-ds-inz/linz-e03-char0-subinz-proc             base=different head=different
linz-ds-inz/linz-f01-p1shape-local-inz             base=different head=match
linz-ds-inz/linz-f02-p1shape-local-noinz           base=match head=match
linz-ds-inz/linz-g02-p1shape-global-noinz          base=match head=match
gate: PASS
# The whole-structure INZ image store of a local data structure no longer counts as a subfield at byte 0 `DCL-DS DataDS QUALIFIED INZ; Num INT(10); Key INT(10); Length INT(10); Data CHAR(20); END-DS;` in a procedure or `main()` stores its 32 bytes once, in the initialization segment of the procedure (`27 C; 37 S 0 T`, T a character of 32 bytes, the length of S). `partTypes` counted that store as a subfield store at byte 0, so `DataDS.Num = 1` (`42 S 0 T`, an integer) had two types at byte 0 and failed as `A261.0 = 1 (A261.0: 2 types)`; the structure was declared with `G0 char(4) inz(x'00000000')` and lost its INZ. After this change the image store does not clash with an integer subfield at byte 0, and it gives the type of byte 0 only when nothing else does. dev5/p1 emits `V00261.F0 = 1;` and `dcl-ds V00261 qualified inz;` with `F0 int(10); F4 int(10); F8 int(10); F12 char(20);`; its failure lines go from 14 to 13. Only `src/core/rpg_source_parts.zig` changes (`imageStore`, `partTypes`). The test file is `src/rpg_ds_inz_test.zig` (registered in `src/root.zig`); the twin is SC-ILE/EXPERIMENTS/linz-p1-chgobjarg (the dev5/p1 capture, MIT source, 119 lines). ## What changes across the public twins Every stripped twin under `src/testdata` (1970 programs, before the four battery twins below) was emitted with the binary of `trunk` (fdb37831) and with this branch, and the files compared: exactly two differ. - `linz-p1-chgobjarg` (14 to 13 failure lines, 10 to 11 emitted): the structure above. - `ldsv-asyncprom` (291 to 288 failure lines, 330 to 333 emitted): `main()` declares `orders likeds(orders_t) inz` (`count int(10)` first), `captureError` declares `ec likeds(errc_t) inz(*likeds)` (`bytesProv int(10)` first). The new lines are `F0 int(10); F4 int(10); F8 packed(9:2)` with `F0 = 3`, `F4 = 101`, `F8 = 250` (the source's `orders.count = 3; orders.order(1).id = 101; orders.order(1).amount = 250`) and `F0 int(10); F4 int(10); G8 char(264)` with `F0 = 272` (`ec.bytesProv = %size(ec)`: 4 + 4 + 7 + 1 + 256 = 272). The statements and the subfield types agree with the source of the twin; the three structures are still declared without the INZ the source has (the failure lines of that twin that remain belong to other families), and the third declaration is new. This is the second twin of an integer first subfield under a structure-level INZ. Every other twin emits byte for byte as before. ## The probe pairs, and what each decides The host answered again at 13:23 on 2026-11-15 and the battery of `requests/linz/ds-inz` was captured: 15 of 15, 0 dropped (`capture.sh`, 1198 s). Each pair differs in the word INZ alone. The four that decide the rule are committed as twins (`linz-f01`, `linz-f02`, `linz-g01`, `linz-g02` under SC-ILE/EXPERIMENTS); the others are in `~/data/sourcerer-loop/captures/linz-ds-inz`. | pair | shape | image store `27 C; 37 S 0 T` | before | after | |---|---|---|---|---| | f01 / f02 | `dcl-ds d qualified (inz)` of `int(10) x3, char(20)` in `main()` | f01: one, in the final statement (14, `END-PROC`) of `M`; f02: none | f01: `A254.0 = 1 (2 types)`, the DS declared `G0 char(4) inz(x'00000000')` without its INZ | f01 emits as the source (`qualified inz`, `F0 int(10)`, `F0 = 1`), 0 failures; f02 unchanged, 0 failures | | g01 / g02 | the same structure global, `main(m)` | g01: one, in `_QRNI_GLOBAL` statement 1000001; g02: none | `S254.0: 2 types` | unchanged: refused (see below) | | d01 / d02 | `char(8)` first, then `int(10)`, local, `inz` or not | d01: one, 12 bytes, in the final statement (13) of `W`; d02: none | 0 failures, `G0 char(8)`, `V00253 = 'abc'` for `d.c = 'abc'` | unchanged byte for byte (d02, with no image, emits the same text) | | a01 / a02 | `int(10) x2` local | none in either | `END-PROC` unresolved in a01 (another family) | unchanged | | b01 / b02, c01 / c02 | the structure global in `main()`, or in the cycle | none in either | `no declaration of symbol (the initial value has no rule)` | unchanged | | e01, e02, e03 | e01 `char(32) inz(*blanks)`, e02 a `char(32)` under a structure-level INZ, e03 `char(8) inz('abc')` first in a structure with no structure-level INZ | e01, e02: none; e03: one, 12 bytes (the whole structure), in the final statement (13) of `W` | 0 failures | unchanged | Facts the pairs decide: 1. **The image store is made by an INZ inside the structure, in the final statement of the procedure that declares it.** f01 has it, f02 has none; e03, with the INZ on a subfield only, has a 12-byte one, the whole structure. It is `27 C; 37 S 0 T` with T the character type of the length of S (32 bytes in f01 and dev5/p1). In dev5/p1 it is `I1160 27 449; I1161 37 261 0 15`, in statement 119 (`END-PROC`, `[1102, 1183)`; `rpg_init_layout`). The value is the default image of the subfields. 2. **The statements of the subfields are other operations.** `d.num = 1` is `42 S 0 int(10)`; the other subfields are addressed (`33 S; 27 K; 62` and the stack walk). The image has the type of the whole symbol, the subfield the type of its own field. 3. **The exemption is for an `int(10)` first subfield only.** Captured: f01 and dev5/p1 (`int(10)`), and `ldsv-asyncprom` (`orders likeds(orders_t) inz`, `count int(10)`; `ec likeds(errc_t) inz(*likeds)`, `bytesProv int(10)`). When the other access at byte 0 is not an integer, `partTypes` still gives two types. d01 and e03 (a character first subfield beside the 12-byte image) emit no two types before and after, and their emit does not change; why they were spared was not examined. An `int(3)`, `int(5)` or `int(20)` first subfield is not measured and still gives two types (test with a retyped p1). Not covered and not refusable yet: an INZ on one subfield beside an `int(10)` first subfield (`n int(10); c char(8) inz('abc')` with no structure-level INZ). e03 shows that a subfield INZ also makes the whole image, and nothing in the image bytes tells the two apart; it needs a capture and a round trip. The three `ldsv-asyncprom` structures now declare without the INZ of their source; their procedures keep `END-PROC is unresolved` (statements 55900, 89700, 159100), and the test asserts those lines. 4. **The global form is not covered, and stays refused.** In g01 the image is in the global initialization procedure (`_QRNI_GLOBAL`), which the rule does not read, so `S254.0 = 1` keeps its two types and the declaration keeps `G0 char(4) inz(x'00000000')` with the failure line. The pair g01 / g02 is the capture for the next change, which would read that store as the image of a global. 5. **A store that is not that image keeps clashing.** The tests mutate the twin: the same operands as a `42`, a narrower `37` (`char(10)`), the `37` placed outside the final statement of the procedure, a `37` with no constant load before it, and the integer stores of byte 0 retyped as a character. Each gives two types at byte 0 as before. 6. **With no other access at byte 0 the image keeps giving the type.** A mutation of the twin, not a measurement: the test turns every `42` of the structure into another operation and `partTypes` still returns the `char(32)` of the store. Nothing captured shows that `char(32) inz(*blanks)` compiles to such a store (e01, e02: none beside the field), so no statement is claimed for it. ## The round trip, and what was not measured - The round trip of dev5/p1 to the identical object: its emit still carries 13 failure lines of other families, so it was not recompiled. The round trip of the pair that decides the rule was measured (`roundtrip.sh`, 2026-11-15, pub400, sourcerer 0.1.999): the emit of f01 recompiles to a stripped object that matches the stripped twin (`match none`, 68 s), and so does the emit of f02 (`match none`, 65 s). - The cycle form: the cycle programs (`lr1-db-ds-c10-p50-k` and others) carry `37 S 0 T` stores in their one procedure, the program entry; the rule asks for the final statement of a subprocedure (`Module.isSubprocedure`, which excludes the cycle main), so none is read as an image. Whether those stores are whole-width stores of a data structure was not checked. c01 / c02 are unchanged. - Existing and unchanged by this branch, found by the battery. d01, d02 and e03 emit with 0 failures and do not round trip (`roundtrip.sh`: `different`; d01 and d02 in eight components, e03 in the instructions, control flow, symbols, constant area and compilation). d02 has no INZ and no image store and emits the same `V00253 = 'abc'` for `d.c = 'abc'`, so the whole-structure assignment of a character first subfield is not caused by the image. a01 emits its structure without INZ (`END-PROC` is unresolved). These belong to other families, with no fix in this change. The rule is that of the final statement of a subprocedure only. ## Gate ``` == a. development emits (dev-hash) p1 DIFFERENT p2 same p3 same p4 same p5 same == b. L10-test direction L10-test unchanged == c. committed twins (emit-bytes-diff) emit text differs: diff -r -x emit.ndjson -x *.receipt.json /Users/someara/data/sourcerer-loop/runs/emitbytes.B5asva/base-emit/428-P389F4503S.rpgle /Users/someara/data/sourcerer-loop/runs/emitbytes.B5asva/head-emit/428-P389F4503S.rpgle 518c518 < G0 char(4); --- > F0 int(10); 529c529 < // SOURCERER-FAIL statement 52300: A393.0 = 3 (A393.0: 2 types) --- > NEWTASK_00393.F0 = 3; 856c856 < G0 char(4); --- > F0 int(10); 864c864 < // SOURCERER-FAIL statement 86400: A344.0 = 272 (A344.0: 2 types) --- > DESTROYTASK_00344.F0 = 272; 1583,1586c1583,1586 < < forms projection differs: 385c385 < {"twin":"savf/SC-ILE/EXPERIMENTS/ldsv-asyncprom/stripped","object":"P389F4503S","status":"done","statements":619,"emitted":330,"failures":291,"lines":1612,"form_counts":{"array_element_v1":16,"compiler_policy_marks_v1":46,"context_character_literal_v1":47,"context_pointer_store_v1":47,"context_procedure_pointer_store_v1":47,"context_zero_fill_v1":47,"direct_branch_v1":39,"emit_assign_based_v1":7,"emit_assign_field_v1":34,"emit_assign_part_v1":11,"emit_callp_v1":51,"emit_ctl_opt_v1":1,"emit_dcl_ds_v1":22,"emit_dcl_pi_v1":45,"emit_dcl_proc_v1":37,"emit_dcl_s_based_v1":1,"emit_dcl_s_v1":48,"emit_dow_v1":2,"emit_ds_filler_v1":16,"emit_ds_subfield_v1":22,"emit_else_v1":7,"emit_elseif_v1":2,"emit_end_ds_v1":9,"emit_end_pi_v1":45,"emit_end_proc_v1":43,"emit_enddo_v1":2,"emit_endfor_v1":2,"emit_endif_v1":56,"emit_for_v1":2,"emit_free_v1":1,"emit_if_v1":56,"emit_leave_v1":2,"emit_pi_parameter_v1":73,"emit_return_value_v1":20,"emit_summary_v1":2,"fail_declaration_v1":2,"fail_procedure_boundary_v1":20,"fail_statement_v1":265,"fail_trailer_v1":4,"initialization_entry_v1":46,"initialization_resume_v1":46,"integer_store_v1":47,"layout_blank_v1":702,"local_pointer_store_v1":43,"null_pointer_literal_v1":58,"placeholder_block_condition_v1":4,"placeholder_parameter_type_v1":11,"placeholder_return_value_v1":6,"procedure_blank_fill_v1":14,"procedure_character_literal_v1":27,"procedure_end_guard_v1":32,"procedure_exit_transfer_v1":50,"procedure_null_pointer_v1":3,"procedure_return_v1":46},"text_sha256":"5b5833eb5f9ae489e68b7a2b6dcb42a768d732c89528d65cbda401556dd23576"} --- == d. captures (capture-emit-diff) p1 base=[24,18,6] head=[24,19,5] CHANGED fail-lines=5 l10-async-asyncage base=[584,323,264] head=[584,325,262] CHANGED fail-lines=262 l10-async-asyncdemo base=[621,347,277] head=[621,349,275] CHANGED fail-lines=275 l10-async-asyncbg base=[597,329,270] head=[597,331,268] CHANGED fail-lines=268 l10-async-asynccncl base=[608,338,273] head=[608,340,271] CHANGED fail-lines=271 l10-async-asyncprom base=[619,330,291] head=[619,333,288] CHANGED fail-lines=288 l10-async-asynctime base=[630,354,280] head=[630,356,278] CHANGED fail-lines=278 linz-f01-p1shape-local-inz base=[6,5,1] head=[6,6,0] CHANGED fail-lines=0 capture-emit-diff: 59 cases, 8 changed, 17 with no failure line in the head emit == e. source agreement (agree) suspect base=84 head=84 conflict base=0 head=0 params_wrong base=15 head=15 decl_missing base=82 head=82 decl_extra base=29 head=29 type_unmarked base=50 head=50 == f. host round trips (both binaries) cases to round-trip: 17 dev5/p3 base=match head=match dev5/p4 base=match head=match dev5/p5 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match linz-ds-inz/linz-a02-noinz-proc base=match head=match linz-ds-inz/linz-b02-noinz-main base=match head=match linz-ds-inz/linz-c02-noinz-cycle base=match head=match linz-ds-inz/linz-d01-char0-inz-proc base=different head=different linz-ds-inz/linz-d02-char0-noinz-proc base=different head=different linz-ds-inz/linz-e01-whole-blanks-proc base=different head=different linz-ds-inz/linz-e02-whole-dsinz-proc base=different head=different linz-ds-inz/linz-e03-char0-subinz-proc base=different head=different linz-ds-inz/linz-f01-p1shape-local-inz base=different head=match linz-ds-inz/linz-f02-p1shape-local-noinz base=match head=match linz-ds-inz/linz-g02-p1shape-global-noinz base=match head=match gate: PASS ```
The initialization segment of a procedure stores the whole `dcl-ds d qualified inz`
in one `27 C; 37 S 0 T` of the length of the symbol. partTypes counted it as a
subfield store at byte 0, so `DataDS.Num = 1` had two types and failed. The image
store now gives the type of byte 0 only when nothing else does; any other whole
width store, a narrower one or one outside the final statement of a procedure
still clashes.
Only an integer first subfield is measured beside the image store of a
structure-level INZ (linz-p1-chgobjarg, ldsv-asyncprom). Another type is
refused as before, with a test, and the change note lists what the public
twins show and what was not captured.
f01/f02 (local, the shape of dev5/p1) and g01/g02 (global) differ in the
word INZ alone. The local image store is in the final statement of the
procedure and recovers; the global one is in the global initialization and
stays refused. ldsv-asyncprom is the second twin of an integer first
subfield. The change note lists every pair of the battery and what was not
measured.
e03 has a whole-structure image from a subfield INZ; d01, d02 and e03 do not
round trip, which no change of this branch causes; the ldsv sentence says what
agrees with the source and what does not.
The review of linz found that any integer width passed the exemption while
every capture is int(10). A retyped p1 with an int(5) first subfield now
keeps two types (red before, green after). The ldsv-asyncprom test asserts
the END-PROC failure lines that keep its three structures, now declared
without their INZ, from looking finished. The change note lists the
subfield-level INZ shape as uncovered.
Regenerate the operations legend
Some checks reported errors
binjovi/ci A newer source or plan superseded this Build
0f57cc7736
sean force-pushed linz from 0f57cc7736
Some checks reported errors
binjovi/ci A newer source or plan superseded this Build
to 32b84a9e16
All checks were successful
binjovi/ci Binjovi completed the frozen plan
2026-11-16 19:09:55 +00:00
Compare
binjovi-bot manually merged commit 32b84a9e16 into trunk 2026-11-16 19:27:51 +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!808
No description provided.