You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
det port: a zero divisor inside a larger COMP-1/COMP-2 expression is refused at run time #4687
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Found by the #4675 work (PR #4686). Hfp.divideNested stops the run (ArithmeticException) when a division that is not the statement's whole value has a zero divisor. The oracle (cobc 3.1.2 -std=ibm) runs cob_decimal_align on the NaN there: (F/FZ) * 3 leaves the receiver, (F/FZ) * C, FM * (F/FZ) store 0, 2 - (F/FZ) stores 2, (F/FZ) + 1 leaves it. Model it (replay the OSVS alignment plan for float statements) or keep the named stop and register it. Part of #4270.
Closed by #5330: the issue offered two routes (replay the OSVS alignment plan, or keep the named stop and register it). The replay was built and measured against the oracle (matched 23 of 25 shapes, and the oracle truncates integer intermediates IBM does not), so the named stop is kept and registered in C14.md with a codegen test pinning it. Remaining float-expression gaps are listed as sibling gaps in the PR.
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
register: a zero divisor inside a float expression stays a named stop…
squid-protocol commentedon Oct 17, 2026
Closed by #5330: the issue offered two routes (replay the OSVS alignment plan, or keep the named stop and register it). The replay was built and measured against the oracle (matched 23 of 25 shapes, and the oracle truncates integer intermediates IBM does not), so the named stop is kept and registered in C14.md with a codegen test pinning it. Remaining float-expression gaps are listed as sibling gaps in the PR.