|
| 1 | +2026-06-30 Robert Dubner <rdubner@symas.com> |
| 2 | + |
| 3 | + * compare.cc (alpha_compare_figconst): Make the code endian-agnostic. |
| 4 | + (alpha_compare): Likewise. |
| 5 | + (numeric_alpha_compare): Likewise. |
| 6 | + (float_compare): Force proper data comparisons. |
| 7 | + * genapi.cc (parser_goto): Use improved get_binary_value() routine. |
| 8 | + (parser_perform_times): Likewise. |
| 9 | + (internal_perform_through_times): Likewise. |
| 10 | + (parser_display_internal): Set formal parameter to const. |
| 11 | + (program_end_stuff): Use get_binary_value(). |
| 12 | + (parser_relop_long): Likewise. |
| 13 | + (parser_see_stop_run): Likewise. |
| 14 | + (parser_perform): Set formal parameter to const. |
| 15 | + (parser_perform_inline_times): Use new get_binary_value(). |
| 16 | + (parser_file_write): Likewise. |
| 17 | + (parser_file_start): Likewise. |
| 18 | + (handle_gg_trim): Endian. |
| 19 | + (parser_trim): Likewise. |
| 20 | + (field_increment): Use new get_binary_value(). |
| 21 | + (parser_lsearch_start): Likewise. |
| 22 | + (parser_release): Set formal parameter to const. |
| 23 | + (parser_match_exception): Use new get_binary_value(). |
| 24 | + (parser_field_attr_set): Set formal parameter to const. |
| 25 | + * genapi.h (parser_display_internal): Likewise. |
| 26 | + (parser_perform_times): Likewise. |
| 27 | + (parser_perform): Likewise. |
| 28 | + (parser_goto): Likewise. |
| 29 | + (parser_field_attr_set): Likewise. |
| 30 | + (parser_file_start): Likewise. |
| 31 | + (parser_release): Likewise. |
| 32 | + * gengen.cc (gg_assign): Comment. |
| 33 | + * genmath.cc (fast_add): New get_binary_value; address aliasing. |
| 34 | + (fast_subtract): Likewise. |
| 35 | + (fast_multiply): Likewise. |
| 36 | + (fast_divide): Likewise. |
| 37 | + * genutil.cc (get_scaled_rdigits): Set formal parameter to const. |
| 38 | + (get_scaled_digits): Set formal parameter to const. |
| 39 | + (get_integer_value): Improved data conversion; make local static. |
| 40 | + (CHECK_FOR_FRACTIONAL_DIGITS): Moved here from genutil.h. |
| 41 | + (giv_helper): New get_integer_value helper routine. |
| 42 | + (get_and_check_refstart_and_reflen): get_binary_value and aliasing. |
| 43 | + (get_depending_on_value_from_odo): Set some variables to const. |
| 44 | + (get_data_offset): Use new get_integer_value() routine. |
| 45 | + (digit): Eliminate as part of improved get_binary_value() conversion. |
| 46 | + (num_disp_dive): Likewise. |
| 47 | + (pd_dive): Likewise. |
| 48 | + (get_pd_value): Likewise. |
| 49 | + (get_binary_value_tree): Likewise. |
| 50 | + (get_binary_value): New binary conversion routines. |
| 51 | + (field_is_super_clean): Likewise. |
| 52 | + (refer_is_working_storage): Likewise. |
| 53 | + (is_working_storage): Likewise. |
| 54 | + (refer_refmod_length): Likewise. |
| 55 | + (binary_from_FldNumericBin5): Likewise. |
| 56 | + (binary_from_FldLiteralN): Likewise. |
| 57 | + (binary_from_FldNumericBinary): Likewise. |
| 58 | + (binary_from_FldNumericDisplay): Likewise. |
| 59 | + (binary_from_numdisp): Likewise. |
| 60 | + (binary_from_comp_3): Likewise. |
| 61 | + (b_from_c3): Likewise. |
| 62 | + (binary_from_comp_6): Likewise. |
| 63 | + (binary_from_FldPacked): Likewise. |
| 64 | + (binary_from_FldFloat): Likewise. |
| 65 | + (get_location): Avoid aliasing. |
| 66 | + (safe_cast): Likewise. |
| 67 | + (attribute_bit_clear): Set formal parameter to const. |
| 68 | + (attribute_bit_get): Likewise. |
| 69 | + (attribute_bit_set): Likewise. |
| 70 | + (round_this_value): New routine for COBOL rounding. |
| 71 | + * genutil.h (get_scaled_rdigits): Set formal parameter to const. |
| 72 | + (get_scaled_digits): Set formal parameter to const. |
| 73 | + (get_binary_value): Modified declaration. |
| 74 | + (get_binary_value_tree): Eliminate. |
| 75 | + (CHECK_FOR_FRACTIONAL_DIGITS): Move to genutil.cc. |
| 76 | + (get_integer_value): Eliminated declaration. |
| 77 | + (field_is_super_clean): New declaration. |
| 78 | + (refer_is_working_storage): Changed to is_working_storage(). |
| 79 | + (is_working_storage): Eliminated. |
| 80 | + (get_location): New declaration for field_t * overload. |
| 81 | + (safe_cast): New declaration. |
| 82 | + (attribute_bit_clear): Set formal parameter to const. |
| 83 | + (attribute_bit_get): Likewise. |
| 84 | + (attribute_bit_set): Likewise. |
| 85 | + * move.cc (copy_little_endian_into_place): Changed to |
| 86 | + copy_native_into_place(). |
| 87 | + (copy_native_into_place): Endian awareness. |
| 88 | + (mh_little_endian): Change name to mh_to_binary. |
| 89 | + (mh_to_binary): Endian awareness. |
| 90 | + (move_helper): Use mh_to_binary. |
| 91 | + * parse.y: Comment out code pending a bug fix. |
| 92 | + * parse_ante.h (cbl_field_t::blank_initial): Endian awareness. |
| 93 | + * show_parse.h: Make a variable const. |
| 94 | + * structs.cc (member): Set formal parameter to const. |
| 95 | + * structs.h (member): Likewise. |
| 96 | + * util.cc (binary_initial): Endian awareness. |
| 97 | + (cbl_field_t::encode_numeric): Endian and aliasing awareness. |
| 98 | + |
1 | 99 | 2026-06-25 Robert Dubner <rdubner@symas.com> |
2 | 100 |
|
3 | 101 | * gengen.cc (gg_abs): Use fold_build1(). |
|
0 commit comments