ECN-4828 POINTER data items passed to subprograms

Defect Number: 53006

Product: ACUCOBOL-GT

Module: Compiler

Machines Affected: All

Known Versions Affected: All

DESCRIPTION:

Passing parameters to a subprogram using the -Za option causes the compiler to generate code used to ensure that the size of the data passed is as large or larger than the linkage section item receiving the data. In this scenario, native C data types (unsigned-long, pointer, etc.) sometimes failed the size test even though both USING and LINKAGE data types were the same type because the compiler always generates the size test using the maximum data size. The runtime has been updated to retrieve the actual size of the data when the subprogram is called.