diff options
| author | Robert Dubner <rdubner@symas.com> | 2025-04-24 16:26:58 -0400 |
|---|---|---|
| committer | Robert Dubner <rdubner@symas.com> | 2025-04-24 17:04:34 -0400 |
| commit | 05b6fc1eb55f30d28c3a23d8a6c2ef0a10856f46 (patch) | |
| tree | 2012355f1e953b2e0b2b3ca8c8dfc4344b40c806 /libgm2 | |
| parent | 2056d52d74070f50c5f8a22e4a600fcc3974fd88 (diff) | |
cobol: Repair some exception processing logic.
This patch changes the exception processing logic for the calculation of
reference modifications and table subscripts to be more in accordance with
ISO specifications.
It also adjusts the processing of RETURN-CODE when calling routines that
have no CALL ... RETURNING phrase.
gcc/cobol
* genapi.cc: (initialize_variable_internal): Change TRACE1 formatting.
(create_and_call): Repair RETURN-CODE processing.
(mh_source_is_group): Repair run-time IF type comparison.
(psa_FldLiteralA): Change TRACE1 formatting.
(parser_symbol_add): Eliminate unnecessary code.
* genutil.cc: Eliminate SET_EXCEPTION_CODE macro.
(get_data_offset_dest): Repair set_exception_code logic.
(get_data_offset_source): Likewise.
(get_binary_value): Likewise.
(refer_refmod_length): Likewise.
(refer_fill_depends): Likewise.
(refer_offset_dest): Likewise.
(refer_size_dest): Likewise.
(refer_offset_source): Likewise.
gcc/testsuite
* cobol.dg/group1/declarative_1.cob: Adjust for repaired exception logic.
Diffstat (limited to 'libgm2')
0 files changed, 0 insertions, 0 deletions
