Repository navigation
det: the zero test of a numeric view of a POINTER is the pointer's NULL test (X47, Part of #6876) - #7188
Merged
Conversation
…LL test (X47, Part of #6876) CAGMZ's IF WS-PTR2-N = 0 translates; any other comparison of the view stays refused by name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
det: the zero test of a numeric view of a POINTER is the pointer's NULL test (X47, Part of #6876)
Checklist: done [c:36bb664b]
CAGMZ's
IF WS-PTR2-N = 0(aPIC S9(8) COMPREDEFINES of a POINTER) was the last hole of the item.Gen.view_zero_relation/rel_view_zerolowerview = 0|ZERO|ZEROS|ZEROES(either side, NOT = through the parser's Not) to the pointer's NULL test (a handle's zero is NULL), and the relation is excluded from the arithmetic plan like the other pointer relations. CICS lane only: in batch,BUMP-TIOT = 0stays a hole (test_tiot_walk_5856).Class / Sibling gaps
Class: a numeric REDEFINES view of a POINTER used in a relation. Measured with
cics_case_ports.py --forgeon current main: CAADDR, CAADSB, CAEBCA, CAEBSB and CAGMPT were already 0 holes (X59 and earlier slices); CAGMZ was the only hole (40/41); now 43/43.Handled here:
=/NOT =with0, ZERO, ZEROS, ZEROES, either side. Still refused by name (tests):> 0,= 5, view vs view,= SPACES.Sibling gaps (no burned-estate program needs any of them): view = view equality (could map to
samePointer); a zero test of a view in the batch lane (needs a stated NULL for the z/OS control blocks); non-S9(n) COMPviews.Finding, not fixed: the
cobol-stuballoc cell of ca-getmain-pointer fails with a SIGSEGV in CAGMPT line 64 (stub side only; CAGMPT is untouched, 0 holes before and after). Needs its own slice.Evidence
cics_case_ports.pyca-getmain-pointer: CAGMPT 46/46, CAGMZ 43/43, 0 holes. Cruciblejava-ported: alloc and zero-length pass;cobol-stub: zero-length pass, alloc fails (see above).det_port.py check: 182/182 ports unchanged.pr_gates --fast9/9,--ratchets9 pass;audit_check.pyclear.🤖 Generated with Claude Code