Cobol MOVE routine fixed for DEBUG registers
Cobol MOVE routine now correctly handles DEBUG registers, fixing PR126277.
The mh_identical MOVE routine in the Cobol compiler has been fixed to properly handle DEBUG-XXX registers, which are children of DEBUG-ITEM. This resolves an issue where these registers were not being processed correctly. Additionally, trailing whitespace is eliminated in mh_binary_to_packed, and the attributes of DEBUG-CONTENTS are corrected in symbol_table_init.
In Details
The mh_identical routine in Cobol's move semantics was failing to account for DEBUG item registers when they had parents. This commit corrects that by ensuring externals with parents are handled, addressing PR126277. It also cleans up whitespace in packed conversions and synchronizes DEBUG-CONTENTS attributes.
- PR126277
- A bug report filed for the Cobol component of GCC, indicating a specific issue that needs to be addressed.
- mh_identical
- A specific routine within the GCC Cobol compiler responsible for handling identical MOVE operations, ensuring data is copied correctly between variables.
- DEBUG registers
- Special registers used within the Cobol compiler to aid in debugging and compiler internal state tracking, particularly related to debugging information.
- DEBUG-ITEM
- A data structure or concept within the Cobol compiler that holds debugging-related information, potentially acting as a parent for other debugging items.