Incorrect processing of arithmetic (SETA) expresions when overflow occurs #549
Labels
bug
Something isn't working
component-core
Related to core components (java)
component-tests
Related to regression test sets for z390
The z390 processing of arithmetic expressions does not properly handle conditions when arithmetic overflow occurs. Following examples of the form (1) set LCLA symbol &A to initial valid value (2) Attempt to set &A to invalid value (3) MNOTE the final value of &A. Both HLASM and z390 results are shown for four examples.
Note the two arithmetic overflows and the two multiplicatoin overflows in HLASM. No errors in z390.
Two existing z390 regression tests, rt/mlc/TESTDC1.MLC and rt/mlc/TESTASC1.MLC have tests that currently do not produce errors but should if z390 is corrected to match HLASM behavior. Comments about this problem appear in the source of the 2 programs.
The code in mz390.java (and possibly az390.java) should correctly process arithmetic expressions, detecting and reporting any overflow errors.
The text was updated successfully, but these errors were encountered: