)]}'
{
  "commit": "7dc3a3720cdf1b467f9a8ed92d4cbb7cf657ef54",
  "tree": "9e6f8657efcfe412a7a48889887bcc5747e26953",
  "parents": [
    "79c7ed9d45d1862fb1ac4e6f3653bf8892c3afe6"
  ],
  "author": {
    "name": "Robert Dubner",
    "email": "rdubner@symas.com",
    "time": "Fri Jul 11 17:11:21 2025 -0400"
  },
  "committer": {
    "name": "Robert Dubner",
    "email": "rdubner@symas.com",
    "time": "Tue Jul 29 12:06:40 2025 -0400"
  },
  "message": "cobol: Minor changes to genapi.cc to eliminate CPPCHECK warnings.\n\nSeveral hundred cppcheck warnings were eliminated.\n\nMost of these changes were replacing C-style casts, checking for NULL\npointers, establishing some variables and formal parameters as const,\nand moving some variables around to tidy up their scopes.\n\nOne memory leak was found and eliminated as a result of the cppcheck.\n\ngcc/cobol/ChangeLog:\n\n\t* Make-lang.in: Eliminate the .cc.o override.\n\t* genapi.cc (level_88_helper): Eliminate cppcheck warning.\n\t(get_level_88_domain): Likewise.\n\t(get_class_condition_string): Likewise.\n\t(parser_call_targets_dump): Likewise.\n\t(parser_compile_ecs): Likewise.\n\t(initialize_variable_internal): Likewise.\n\t(move_tree): Likewise.\n\t(combined_name): Likewise.\n\t(assembler_label): Likewise.\n\t(find_procedure): Likewise.\n\t(parser_perform): Likewise.\n\t(parser_perform_times): Likewise.\n\t(internal_perform_through): Likewise.\n\t(internal_perform_through_times): Likewise.\n\t(psa_FldLiteralN): Likewise.\n\t(psa_FldBlob): Likewise.\n\t(parser_accept): Likewise.\n\t(parser_accept_exception): Likewise.\n\t(parser_accept_exception_end): Likewise.\n\t(parser_accept_command_line): Likewise.\n\t(parser_accept_envar): Likewise.\n\t(parser_display_internal): Likewise.\n\t(parser_display): Likewise.\n\t(parser_assign): Likewise.\n\t(parser_initialize_table): Likewise.\n\t(parser_arith_error): Likewise.\n\t(parser_arith_error_end): Likewise.\n\t(parser_division): Likewise.\n\t(label_fetch): Likewise.\n\t(parser_label_label): Likewise.\n\t(parser_label_goto): Likewise.\n\t(parser_perform_start): Likewise.\n\t(parser_perform_conditional): Likewise.\n\t(parser_perform_conditional_end): Likewise.\n\t(parser_perform_until): Likewise.\n\t(parser_file_delete): Likewise.\n\t(parser_intrinsic_subst): Likewise.\n\t(create_lsearch_address_pairs): Likewise.\n\t(parser_bsearch_start): Likewise.\n\t(is_ascending_key): Likewise.\n\t(parser_sort): Likewise.\n\t(parser_file_sort): Likewise.\n\t(parser_return_start): Likewise.\n\t(parser_file_merge): Likewise.\n\t(parser_string_overflow): Likewise.\n\t(parser_unstring): Likewise.\n\t(parser_string): Likewise.\n\t(parser_call_exception): Likewise.\n\t(create_and_call): Likewise.\n\t(mh_identical): Likewise.\n\t(move_helper): Likewise.\n\t(binary_initial_from_float128): Likewise.\n\t(initial_from_initial): Likewise.\n\t(psa_FldLiteralA): Likewise.\n\t(parser_local_add): Likewise.\n\t(parser_symbol_add): Likewise.\n\t* genapi.h (parser_display): Likewise.\n\t* gengen.cc (gg_call_expr): Explict check for NULL_TREE.\n\t(gg_call): Likewise.\n\t* show_parse.h (SHOW_PARSE_LABEL_OK): Likewise.\n\t(TRACE1_FIELD_VALUE): Likewise.\n\t(CHECK_FIELD): Likewise.\n\t(CHECK_FIELD2): Likewise.\n\t(CHECK_LABEL): Likewise.\n\t* util.cc (cbl_internal_error): Apply [[noreturn]] attribute.\n\t* util.h (cbl_internal_error): Likewise.\n\nlibgcobol/ChangeLog:\n\n\t* common-defs.h (PTRCAST): Moved here from libgcobol.h.\n\t* libgcobol.h (PTRCAST): Deleted.\n\n(cherry picked from commit 9b9753718e202073a3343d196a2eae13df80f408)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee494b86f0cc110256e1107e9bb4390fad6c9e51",
      "old_mode": 33188,
      "old_path": "gcc/cobol/Make-lang.in",
      "new_id": "22de3b15bdea043b5b304652db59a1c8f8031684",
      "new_mode": 33188,
      "new_path": "gcc/cobol/Make-lang.in"
    },
    {
      "type": "modify",
      "old_id": "3c4e9a9ebbbfc8b32ed2d33c24d85282c101f140",
      "old_mode": 33188,
      "old_path": "gcc/cobol/genapi.cc",
      "new_id": "23a66221d0bde89b14b191887c17b88ce3dcf951",
      "new_mode": 33188,
      "new_path": "gcc/cobol/genapi.cc"
    },
    {
      "type": "modify",
      "old_id": "ab76856275bce86d1e17a5805fab2147e55b5416",
      "old_mode": 33188,
      "old_path": "gcc/cobol/genapi.h",
      "new_id": "c2219a776deaa9877b5ac9c21d4996cf3e9cd551",
      "new_mode": 33188,
      "new_path": "gcc/cobol/genapi.h"
    },
    {
      "type": "modify",
      "old_id": "e42747b16d0e9ee4522908a7c4ff4a0b552d2bf7",
      "old_mode": 33188,
      "old_path": "gcc/cobol/gengen.cc",
      "new_id": "2b688d64628845e48a6a69a1557521c0fc05010b",
      "new_mode": 33188,
      "new_path": "gcc/cobol/gengen.cc"
    },
    {
      "type": "modify",
      "old_id": "db24807d60a0aeeeadac80664c498dae27cf3f52",
      "old_mode": 33188,
      "old_path": "gcc/cobol/show_parse.h",
      "new_id": "bd0e16fe83322cc5383d67e995fef58cbd401a1c",
      "new_mode": 33188,
      "new_path": "gcc/cobol/show_parse.h"
    },
    {
      "type": "modify",
      "old_id": "854bd7fb644153c6dde3dc6469b015c3348bca1e",
      "old_mode": 33188,
      "old_path": "gcc/cobol/util.cc",
      "new_id": "afa159787fb6f7de9abea8389721693671a0498d",
      "new_mode": 33188,
      "new_path": "gcc/cobol/util.cc"
    },
    {
      "type": "modify",
      "old_id": "d07b669a7f4804141dec658623e05c20d56710bb",
      "old_mode": 33188,
      "old_path": "gcc/cobol/util.h",
      "new_id": "00ab6a79e70df33a12238203af94f370e259117b",
      "new_mode": 33188,
      "new_path": "gcc/cobol/util.h"
    },
    {
      "type": "modify",
      "old_id": "a3884fdccb72eb29a0bdddc7660c0d59ab7fd377",
      "old_mode": 33188,
      "old_path": "libgcobol/common-defs.h",
      "new_id": "15d06831be74516244bea034fff5ea31e095e6f6",
      "new_mode": 33188,
      "new_path": "libgcobol/common-defs.h"
    },
    {
      "type": "modify",
      "old_id": "2e338c2596a329ecccdc35420572f03df1700c7e",
      "old_mode": 33188,
      "old_path": "libgcobol/libgcobol.h",
      "new_id": "2f5c8b0e63c2131bba66e9e90956b85fafa5c275",
      "new_mode": 33188,
      "new_path": "libgcobol/libgcobol.h"
    }
  ]
}
