A static pointer with INZ(*NULL), and the cycle proofs under OPTION(*SRCSTMT) #636

Manually merged
binjovi-bot merged 4 commits from rpg-9-z-pointer-inz-20261025 into trunk 2026-10-25 09:21:28 +00:00
Owner

A static pointer with INZ(*NULL), and the cycle proofs under OPTION(*SRCSTMT)

A static pointer declared inz(*null) compiles to a 16-byte fill with the byte
0 in the static initialization, where the pointer fields of the compiler are a
null-pointer store. The declaration rule knew the zero fill only as the empty
value of a varying-length field, so the program failed at its first use of the
pointer ("the initial value has no rule"). The rule now writes pointer inz(*null) for a 16-byte pointer filled with zero. The init-static-character
and init-static-packed probes are the public reproduction; their rebuilt
objects still differ, because the source folds %len(tag) into the literal
that the object holds.

With OPTION(*SRCSTMT) the compiler statements are 2100000001 and 2100000002.
An origin rule marked both partial whenever they were recovered, because no
proof of the compiler effects existed then. The cycle start template and the
return at the end of the main procedure prove them now, as they prove the
statements 1000001 and 1000002 of a program without the option, so a proved
statement keeps its recovered status; an unproved one stays partial, and the
statements keep their compiler kind and their counts. SC-ILE/DSPLY and the
d4-srcstmt-dspf probe are the public reproduction; the TSTRIP-STRIPPED
golden text follows (two status lines).

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden 173/5/0 == dump 173/5/0","emit":{"worse":[],"better":22,"newly_clean":21,"clean_delta":21,"base":215,"new":236},"twins":{"groups":439,"recovered":428,"regressions":[],"newly":13},"allgroups":{"regressions":[],"newly":["rpg-corpus-captures/files-chain/stripped/object.savf 2","rpg-corpus-captures/files-display-write/stripped/object.savf 2","rpg-corpus-captures/files-logical/stripped/object.savf 2","savf/SC-ILE/DSPLY/error-observable/archive.savf 2","savf/SC-ILE/DSPLY/error-stripped/archive.savf 2","savf/SC-ILE/DSPLY/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/d4-out-const/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-out-input/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-srcstmt-dspf/stripped/object.savf 2","savf/SC-ILE/EXPERIMENTS/d7c-copy/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j1/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j2/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j3/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/format-base/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/format-rename/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/gotos-static/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/h-subind/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/shared-io-full/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/shared-io-none/stripped/archive.savf 2","savf/SC-ILE/MONITOR/limits-observable/archive.savf 1","savf/SC-ILE/MONITOR/limits-stripped/archive.savf 1","savf/SC-ILE/MONITOR/stripped/archive.savf 2","savf/SC-ILE/TSTRIP-STRIPPED/archive.savf 2","savf/SC-ILE/TSTRIP/archive.savf 2"],"worse":[]},"full_check":{"exit":0,"seconds":717}}
# A static pointer with INZ(*NULL), and the cycle proofs under OPTION(*SRCSTMT) A static pointer declared `inz(*null)` compiles to a 16-byte fill with the byte 0 in the static initialization, where the pointer fields of the compiler are a null-pointer store. The declaration rule knew the zero fill only as the empty value of a varying-length field, so the program failed at its first use of the pointer ("the initial value has no rule"). The rule now writes `pointer inz(*null)` for a 16-byte pointer filled with zero. The `init-static-character` and `init-static-packed` probes are the public reproduction; their rebuilt objects still differ, because the source folds `%len(tag)` into the literal that the object holds. With `OPTION(*SRCSTMT)` the compiler statements are 2100000001 and 2100000002. An origin rule marked both partial whenever they were recovered, because no proof of the compiler effects existed then. The cycle start template and the return at the end of the main procedure prove them now, as they prove the statements 1000001 and 1000002 of a program without the option, so a proved statement keeps its recovered status; an unproved one stays partial, and the statements keep their compiler kind and their counts. `SC-ILE/DSPLY` and the `d4-srcstmt-dspf` probe are the public reproduction; the `TSTRIP-STRIPPED` golden text follows (two status lines). ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden 173/5/0 == dump 173/5/0","emit":{"worse":[],"better":22,"newly_clean":21,"clean_delta":21,"base":215,"new":236},"twins":{"groups":439,"recovered":428,"regressions":[],"newly":13},"allgroups":{"regressions":[],"newly":["rpg-corpus-captures/files-chain/stripped/object.savf 2","rpg-corpus-captures/files-display-write/stripped/object.savf 2","rpg-corpus-captures/files-logical/stripped/object.savf 2","savf/SC-ILE/DSPLY/error-observable/archive.savf 2","savf/SC-ILE/DSPLY/error-stripped/archive.savf 2","savf/SC-ILE/DSPLY/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/d4-out-const/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-out-input/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-srcstmt-dspf/stripped/object.savf 2","savf/SC-ILE/EXPERIMENTS/d7c-copy/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j1/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j2/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j3/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/format-base/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/format-rename/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/gotos-static/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/h-subind/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/shared-io-full/stripped/archive.savf 2","savf/SC-ILE/EXPERIMENTS/shared-io-none/stripped/archive.savf 2","savf/SC-ILE/MONITOR/limits-observable/archive.savf 1","savf/SC-ILE/MONITOR/limits-stripped/archive.savf 1","savf/SC-ILE/MONITOR/stripped/archive.savf 2","savf/SC-ILE/TSTRIP-STRIPPED/archive.savf 2","savf/SC-ILE/TSTRIP/archive.savf 2"],"worse":[]},"full_check":{"exit":0,"seconds":717}} ```
sean force-pushed rpg-9-z-pointer-inz-20261025 from 8c98db2e6f
All checks were successful
binjovi/ci Binjovi completed the frozen plan
to 5d925475b5
All checks were successful
binjovi/ci Binjovi completed the frozen plan
2026-10-25 09:11:29 +00:00
Compare
binjovi-bot manually merged commit 5d925475b5 into trunk 2026-10-25 09:21:28 +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!636
No description provided.