Debian Codegraph @

libgcobol/ChangeLog

raw
1 2026-06-12 Release Manager
2
3 * GCC 15.3.0 released.
4
5 2025-08-08 Release Manager
6
7 * GCC 15.2.0 released.
8
9 2025-07-29 Robert Dubner <[email protected]>
10
11 Backported from master:
12 2025-07-13 Robert Dubner <[email protected]>
13
14 * common-defs.h (PTRCAST): Moved here from libgcobol.h.
15 * libgcobol.h (PTRCAST): Deleted.
16
17 2025-07-29 James K. Lowden <[email protected]>
18
19 Backported from master:
20 2025-07-10 James K. Lowden <[email protected]>
21
22 * common-defs.h (cdf_enabled_exceptions): Use new CDF state.
23
24 2025-07-29 Robert Dubner <[email protected]>
25
26 Backported from master:
27 2025-07-09 Robert Dubner <[email protected]>
28 James K. Lowden <[email protected]>
29
30 * libgcobol.cc (__gg__accept_envar): ACCEPT/DISPLAY environment variables.
31 (accept_envar): Likewise.
32 (default_exception_handler): Refine system log entries.
33 (open_syslog): Likewise.
34 (__gg__set_env_name): ACCEPT/DISPLAY environment variables.
35 (__gg__get_env_name): ACCEPT/DISPLAY environment variables.
36 (__gg__get_env_value): ACCEPT/DISPLAY environment variables.
37 (__gg__set_env_value): ACCEPT/DISPLAY environment variables.
38 (__gg__fprintf_stderr): Adjust __attribute__ for printf.
39 (__gg__set_arg_num): ACCEPT/DISPLAY command-line arguments.
40 (__gg__accept_arg_value): ACCEPT/DISPLAY command-line arguments.
41 (__gg__get_file_descriptor): DISPLAY on os_filename[] /dev device.
42
43 2025-07-29 James K. Lowden <[email protected]>
44
45 Backported from master:
46 2025-06-20 James K. Lowden <[email protected]>
47
48 * LICENSE: New file.
49
50 2025-07-29 James K. Lowden <[email protected]>
51
52 Backported from master:
53 2025-06-16 James K. Lowden <[email protected]>
54
55 PR cobol/120621
56 * common-defs.h (class cbl_enabled_exceptions_t): Const parameter.
57
58 2025-07-29 Robert Dubner <[email protected]>
59
60 Backported from master:
61 2025-06-11 Robert Dubner <[email protected]>
62
63 PR cobol/119975
64 * intrinsic.cc (__gg__current_date): Eliminate CLOCK_REALTIME.
65 (__gg__seconds_past_midnight): Likewise.
66 (__gg__formatted_current_date): Likewise.
67 (__gg__random): Likewise.
68 (__gg__random_next): Likewise.
69 * libgcobol.cc: include <sys/time.h>.
70 (__gg__abort): Eliminate CLOCK_REALTIME.
71 (cobol_time): Likewise.
72 (get_time_nanoseconds): Rename.
73 (get_time_nanoseconds_local): Comment; Eliminate CLOCK_REALTIME.
74 (__gg__clock_gettime): Likewise.
75 (__gg__get_date_hhmmssff): Likewise.
76 * libgcobol.h (__gg__clock_gettime): Eliminate clockid_t from declaration.
77
78 2025-07-29 Robert Dubner <[email protected]>
79
80 Backported from master:
81 2025-06-06 Robert Dubner <[email protected]>
82 James K. Lowden <[email protected]>
83
84 * common-defs.h (enum cbl_file_mode_t): Whitespace.
85 (enum file_stmt_t): Likewise.
86 (ec_cmp): Likewise.
87 (struct cbl_declarative_t): Add "explicit" keyword.
88 (class cbl_enabled_exceptions_t): Whitespace.
89 * gfileio.cc: Remove cppcheck comment.
90 * libgcobol.cc (class ec_status_t): Add "explicit" keyword.
91 (match_declarative): Remove %zu.
92 (default_exception_handler): Likwise.
93 (__gg__check_fatal_exception): Exception overhead.
94 (__gg__exception_push): Remove %zu.
95 (__gg__exception_pop): Likewise.
96 (cbl_enabled_exception_t::dump): Likewise.
97 (__gg__match_exception): Exception overhead; remove %zu.
98 (cbl_enabled_exceptions_t::dump): Remove %zu.
99 (__gg__set_exception_environment): Likewise.
100
101 2025-07-29 Robert Dubner <[email protected]>
102
103 Backported from master:
104 2025-06-05 Robert Dubner <[email protected]>
105
106 PR cobol/119975
107 * configure.ac: AC_CHECK_LIB(rt, clock_gettime).
108 * config.h.in: Likewise.
109 * configure: Likewise.
110 * gfileio.cc: Remove in-line cppcheck-suppress.
111 * intrinsic.cc (timespec_to_string): Use guarded clock_gettime().
112 (__gg__current_date): Likewise.
113 (__gg__seconds_past_midnight): Likewise.
114 (__gg__formatted_current_date): Likewise.
115 (__gg__random): Likewise.
116 (__gg__random_next): Likewise.
117 (__gg__when_compiled): Likewise.
118 * libgcobol.cc (cobol_time): Likewise.
119 (get_time_nanoseconds): Likewise.
120 (__gg__clock_gettime): Likewise.
121 (__gg__get_date_hhmmssff): Likewise.
122 * libgcobol.h (__gg__clock_gettime): Likewise.
123 (struct cbl_timespec): Likewise.
124
125 2025-07-29 Robert Dubner <[email protected]>
126
127 Backported from master:
128 2025-06-04 Robert Dubner <[email protected]>
129
130 PR cobol/119323
131 * charmaps.cc (__gg__raw_to_ascii): Eliminate cppcheck warnings.
132 (__gg__raw_to_ebcdic): Likewise.
133 (__gg__ebcdic_to_console): Likewise.
134 (__gg__console_to_ascii): Likewise.
135 (__gg__console_to_ebcdic): Likewise.
136 * common-defs.h (struct cbl_declarative_t): Likewise.
137 * gfileio.cc (get_filename): Likewise.
138 (max_value): Likewise.
139 (relative_file_delete_varying): Likewise.
140 (relative_file_delete): Likewise.
141 (read_an_indexed_record): Likewise.
142 (position_state_restore): Likewise.
143 (indexed_file_delete): Likewise.
144 (indexed_file_start): Likewise.
145 (sequential_file_rewrite): Likewise.
146 (relative_file_write_varying): Likewise.
147 (relative_file_write): Likewise.
148 (sequential_file_write): Likewise.
149 (indexed_file_write): Likewise.
150 (__io__file_write): Likewise.
151 (line_sequential_file_read): Likewise.
152 (indexed_file_read): Likewise.
153 (file_indexed_open): Likewise.
154 (__gg__file_reopen): Likewise.
155 * gmath.cc (conditional_stash): Likewise.
156 (__gg__pow): Likewise.
157 (multiply_int256_by_int64): Likewise.
158 (add_int256_to_int256): Likewise.
159 (divide_int256_by_int64): Likewise.
160 (squeeze_int256): Likewise.
161 (get_int256_from_qualified_field): Likewise.
162 (__gg__add_fixed_phase1): Likewise.
163 (__gg__addf1_fixed_phase2): Likewise.
164 (__gg__fixed_phase2_assign_to_c): Likewise.
165 (__gg__add_float_phase1): Likewise.
166 (__gg__addf1_float_phase2): Likewise.
167 (__gg__float_phase2_assign_to_c): Likewise.
168 (__gg__addf3): Likewise.
169 (__gg__subtractf1_fixed_phase2): Likewise.
170 (__gg__subtractf2_fixed_phase1): Likewise.
171 (__gg__subtractf1_float_phase2): Likewise.
172 (__gg__subtractf2_float_phase1): Likewise.
173 (__gg__subtractf3): Likewise.
174 (__gg__multiplyf1_phase1): Likewise.
175 (multiply_int128_by_int128): Likewise.
176 (__gg__multiplyf1_phase2): Likewise.
177 (__gg__multiplyf2): Likewise.
178 (shift_in_place128): Likewise.
179 (divide_int128_by_int128): Likewise.
180 (__gg__dividef1_phase2): Likewise.
181 (__gg__dividef23): Likewise.
182 (__gg__dividef45): Likewise.
183 * intrinsic.cc (struct input_state): Likewise.
184 (get_value_as_double_from_qualified_field): Likewise.
185 (kahan_summation): Likewise.
186 (variance): Likewise.
187 (get_all_time): Likewise.
188 (populate_ctm_from_date): Likewise.
189 (populate_ctm_from_time): Likewise.
190 (ftime_replace): Likewise.
191 (__gg__abs): Likewise.
192 (__gg__acos): Likewise.
193 (__gg__annuity): Likewise.
194 (__gg__asin): Likewise.
195 (__gg__atan): Likewise.
196 (__gg__byte_length): Likewise.
197 (__gg__char): Likewise.
198 (__gg__combined_datetime): Likewise.
199 (__gg__cos): Likewise.
200 (__gg__date_of_integer): Likewise.
201 (__gg__date_to_yyyymmdd): Likewise.
202 (__gg__day_of_integer): Likewise.
203 (__gg__day_to_yyyyddd): Likewise.
204 (__gg__exp): Likewise.
205 (__gg__exp10): Likewise.
206 (__gg__factorial): Likewise.
207 (__gg__formatted_current_date): Likewise.
208 (__gg__formatted_date): Likewise.
209 (__gg__formatted_datetime): Likewise.
210 (__gg__formatted_time): Likewise.
211 (__gg__integer): Likewise.
212 (__gg__integer_of_date): Likewise.
213 (__gg__integer_of_day): Likewise.
214 (__gg__integer_part): Likewise.
215 (__gg__fraction_part): Likewise.
216 (__gg__log): Likewise.
217 (__gg__log10): Likewise.
218 (__gg__max): Likewise.
219 (__gg__lower_case): Likewise.
220 (__gg__median): Likewise.
221 (__gg__min): Likewise.
222 (numval): Likewise.
223 (numval_c): Likewise.
224 (__gg__numval): Likewise.
225 (__gg__test_numval): Likewise.
226 (__gg__numval_c): Likewise.
227 (__gg__test_numval_c): Likewise.
228 (__gg__ord): Likewise.
229 (__gg__rem): Likewise.
230 (__gg__trim): Likewise.
231 (__gg__random): Likewise.
232 (__gg__reverse): Likewise.
233 (__gg__sign): Likewise.
234 (__gg__sin): Likewise.
235 (__gg__sqrt): Likewise.
236 (__gg__tan): Likewise.
237 (__gg__test_date_yyyymmdd): Likewise.
238 (__gg__test_day_yyyyddd): Likewise.
239 (__gg__upper_case): Likewise.
240 (__gg__year_to_yyyy): Likewise.
241 (gets_int): Likewise.
242 (gets_year): Likewise.
243 (gets_month): Likewise.
244 (gets_day): Likewise.
245 (gets_day_of_week): Likewise.
246 (gets_day_of_year): Likewise.
247 (gets_week): Likewise.
248 (gets_hours): Likewise.
249 (gets_minutes): Likewise.
250 (gets_seconds): Likewise.
251 (gets_nanoseconds): Likewise.
252 (fill_cobol_tm): Likewise.
253 (__gg__test_formatted_datetime): Likewise.
254 (__gg__integer_of_formatted_date): Likewise.
255 (__gg__seconds_from_formatted_time): Likewise.
256 (__gg__hex_of): Likewise.
257 (__gg__highest_algebraic): Likewise.
258 (__gg__lowest_algebraic): Likewise.
259 (floating_format_tester): Likewise.
260 (__gg__numval_f): Likewise.
261 (__gg__test_numval_f): Likewise.
262 (ismatch): Likewise.
263 (iscasematch): Likewise.
264 (strstr): Likewise.
265 (strcasestr): Likewise.
266 (strlaststr): Likewise.
267 (strcaselaststr): Likewise.
268 (__gg__substitute): Likewise.
269 (__gg__locale_compare): Likewise.
270 (__gg__locale_date): Likewise.
271 (__gg__locale_time): Likewise.
272 (__gg__locale_time_from_seconds): Likewise.
273 * libgcobol.cc (class ec_status_t): Likewise.
274 (__gg__set_truncation_mode): Likewise.
275 (malloc): Likewise.
276 (__gg__mabort): Likewise.
277 (__gg__resize_int_p): Likewise.
278 (__gg__resize_treeplet): Likewise.
279 (var_is_refmod): Likewise.
280 (value_is_too_big): Likewise.
281 (__gg__string_to_alpha_edited_ascii): Likewise.
282 (int128_to_field): Likewise.
283 (edited_to_binary): Likewise.
284 (get_binary_value_local): Likewise.
285 (__gg__get_date_yymmdd): Likewise.
286 (__gg__get_date_yyyymmdd): Likewise.
287 (__gg__get_date_yyddd): Likewise.
288 (__gg__get_yyyyddd): Likewise.
289 (__gg__get_date_dow): Likewise.
290 (get_scaled_rdigits): Likewise.
291 (format_for_display_internal): Likewise.
292 (compare_88): Likewise.
293 (get_float128): Likewise.
294 (compare_field_class): Likewise.
295 (compare_strings): Likewise.
296 (__gg__compare_2): Likewise.
297 (__gg__sort_table): Likewise.
298 (init_var_both): Likewise.
299 (alpha_to_alpha_move_from_location): Likewise.
300 (alpha_to_alpha_move): Likewise.
301 (__gg__move): Likewise.
302 (__gg__move_literala): Likewise.
303 (__gg__sort_workfile): Likewise.
304 (__gg__merge_files): Likewise.
305 (normalize_id): Likewise.
306 (inspect_backward_format_1): Likewise.
307 (__gg__inspect_format_1): Likewise.
308 (inspect_backward_format_2): Likewise.
309 (__gg__inspect_format_2): Likewise.
310 (__gg__inspect_format_4): Likewise.
311 (move_string): Likewise.
312 (__gg__string): Likewise.
313 (display_both): Likewise.
314 (__gg__display_string): Likewise.
315 (__gg__accept): Likewise.
316 (__gg__binary_value_from_qualified_field): Likewise.
317 (__gg__float128_from_qualified_field): Likewise.
318 (float128_to_int128): Likewise.
319 (float128_to_location): Likewise.
320 (__gg__set_initial_switch_value): Likewise.
321 (is_numeric_display_numeric): Likewise.
322 (is_packed_numeric): Likewise.
323 (is_alpha_a_number): Likewise.
324 (__gg__classify): Likewise.
325 (__gg__accept_envar): Likewise.
326 (__gg__set_envar): Likewise.
327 (command_line_plan_b): Likewise.
328 (__gg__get_command_line): Likewise.
329 (__gg__set_pointer): Likewise.
330 (__gg__ascii_to_internal_field): Likewise.
331 (__gg__internal_to_console_in_place): Likewise.
332 (__gg__routine_to_call): Likewise.
333 (__gg__fetch_call_by_value_value): Likewise.
334 (__gg__assign_value_from_stack): Likewise.
335 (__gg__literaln_alpha_compare): Likewise.
336 (string_in): Likewise.
337 (__gg__unstring): Likewise.
338 (local_ec_type_of): Likewise.
339 (struct exception_descr_t): Likewise.
340 (struct cbl_exception_t): Likewise.
341 (cbl_enabled_exception_t: Likewise.: Likewise.dump): Likewise.
342 (__gg__match_exception): Likewise.
343 (__gg__float128_from_location): Likewise.
344 (__gg__integer_from_float128): Likewise.
345 (__gg__set_exception_file): Likewise.
346 (__gg__func_exception_file): Likewise.
347 (__gg__set_exception_code): Likewise.
348 (__gg__is_float_infinite): Likewise.
349 (__gg__float32_from_128): Likewise.
350 (__gg__float32_from_64): Likewise.
351 (__gg__float64_from_128): Likewise.
352 (__gg__copy_as_big_endian): Likewise.
353 (__gg__get_figconst_data): Likewise.
354 (find_in_dirs): Likewise.
355 (__gg__function_handle_from_cobpath): Likewise.
356 (__gg__just_mangle_name): Likewise.
357 (__gg__function_handle_from_literal): Likewise.
358 (__gg__function_handle_from_name): Likewise.
359 (__gg__mirror_range): Likewise.
360 (__gg__deallocate): Likewise.
361 (__gg__allocate): Likewise.
362 (__gg__module_name): Likewise.
363 (__gg__set_env_name): Likewise.
364 (__gg__set_env_value): Likewise.
365 * libgcobol.h (__gg__mabort): Likewise.
366 (massert): Likewise.
367 (PTRCAST): Likewise.
368 (__gg__float128_from_location): Likewise.
369 (__gg__set_exception_file): Likewise.
370 (__gg__binary_value_from_qualified_field): Likewise.
371 (__gg__float128_from_qualified_field): Likewise.
372 * valconv.cc (__gg__realloc_if_necessary): Likewise.
373 (__gg__alphabet_create): Likewise.
374 (__gg__string_to_numeric_edited): Likewise.
375 (__gg__string_to_alpha_edited): Likewise.
376 * valconv.h: Likewise.
377
378 2025-07-29 Robert Dubner <[email protected]>
379
380 Backported from master:
381 2025-06-01 Robert Dubner <[email protected]>
382
383 PR cobol/119524
384 * libgcobol.cc (__gg__fprintf_stderr): New function.
385
386 2025-07-29 Robert Dubner <[email protected]>
387
388 Backported from master:
389 2025-05-20 Robert Dubner <[email protected]>
390 James K. Lowden <[email protected]>
391
392 * charmaps.cc: Switch to C++ includes.
393 * common-defs.h: Likewise.
394 * constants.cc: Likewise.
395 * ec.h: Remove #include <assert.h>.
396 * gcobolio.h (GCOBOLIO_H_): Switch to C++ includes.
397 * gfileio.cc: Likewise.
398 * gmath.cc: Likewise.
399 * intrinsic.cc: Comment formatting; C++ includes.
400 * io.cc: C++ includes.
401 * libgcobol.cc: (__gg__stash_exceptions): Eliminate.
402 * valconv.cc: Switch to C++ includes.
403
404 2025-07-29 Robert Dubner <[email protected]>
405
406 Backported from master:
407 2025-05-20 Robert Dubner <[email protected]>
408
409 PR cobol/119885
410 * intrinsic.cc: (__gg__sqrt): Change test from <= zero to < zero.
411
412 2025-07-29 Robert Dubner <[email protected]>
413
414 Backported from master:
415 2025-05-16 Robert Dubner <[email protected]>
416
417 * common-defs.h (struct cbl_declarative_t): Eliminate blobl.
418 * libgcobol.cc (__gg__set_env_name): Code for ENVIRONMENT-NAME/VALUE.
419 (__gg__set_env_value): Likewise.
420
421 2025-07-29 Rainer Orth <[email protected]>
422
423 Backported from master:
424 2025-05-13 Rainer Orth <[email protected]>
425
426 * libgcobol.cc [!LOG_PERROR] (LOG_PERROR): Provide fallback.
427
428 2025-07-29 Robert Dubner <[email protected]>
429
430 Backported from master:
431 2025-05-11 Robert Dubner <[email protected]>
432
433 PR cobol/119377
434 * common-defs.h: (struct cbl_declaratives_t): Change "bool global" to
435 "uint32_t global".
436
437 2025-07-29 Robert Dubner <[email protected]>
438
439 Backported from master:
440 2025-05-10 Robert Dubner <[email protected]>
441
442 * common-defs.h (ec_cmp): Delete "getenv("match_declarative")" calls.
443 (enabled_exception_match): Delete "getenv("match_declarative")" calls.
444 * libgcobol.cc: Eliminate __gg__odo_violation.
445
446 2025-07-29 Rainer Orth <[email protected]>
447
448 Backported from master:
449 2025-05-08 Rainer Orth <[email protected]>
450
451 * configure.ac: Handle --enable-libgcobol.
452 Let it override LIBGCOBOL_SUPPORTED.
453 * configure: Regenerate.
454
455 2025-07-29 Iain Sandoe <[email protected]>
456
457 Backported from master:
458 2025-05-06 Iain Sandoe <[email protected]>
459
460 * config.h.in: Regenerate.
461 * configure: Regenerate.
462 * configure.ac: Check for program_invocation_short_name and
463 and getprogname().
464 * libgcobol.cc (default_exception_handler): When the platform
465 has program_invocation_short_name, use it otherwise fall
466 back to using getprogname() or a constant string (if neither
467 interface is available).
468
469 2025-07-29 Robert Dubner <[email protected]>
470
471 Backported from master:
472 2025-05-05 Robert Dubner <[email protected]>
473
474 * charmaps.cc: Add #include <vector>.
475 * common-defs.h (COMMON_DEFS_H_): Add #include <stdio.h>.
476 (enum cbl_file_mode_t): Add file_mode_any_e.
477 (enum file_stmt_t): Created.
478 (cbl_file_mode_str): Add case for file_mode_any_e.
479 (ec_cmp): Exceptions.
480 (struct cbl_enabled_exception_t): Likewise.
481 (struct cbl_declarative_t): Likewise.
482 (class cbl_enabled_exceptions_array_t): Likewise.
483 (class cbl_enabled_exceptions_t): Likewise.
484 (struct cbl_enabled_exceptions_array_t): Likewise.
485 (enabled_exception_match): Likewise.
486 * constants.cc: Add #include <vector>.
487 * exceptl.h (struct cbl_exception_t): Removed.
488 (struct cbl_declarative_t): Removed.
489 (class ec_status_t): Removed.
490 * gcobolio.h: Add symbol_table_index to cblc_file_t.
491 * gfileio.cc: Add #include <vector>
492 (establish_status): Comment.
493 (__io__file_init): Handle symbol_table_index.
494 (__io__file_delete): Set file->prior_op.
495 (__io__file_rewrite): Likewise.
496 (__io__file_read): Likewise.
497 (__io__file_open): Likewise.
498 (__io__file_close): Likewise.
499 * gmath.cc: Include #include <vector>.
500 * intrinsic.cc: Include #include <vector>.
501 * libgcobol.cc: Multiple modifications for exceptions.
502 * valconv.cc: #include <vector>.
503
504 2025-07-29 Jakub Jelinek <[email protected]>
505
506 Backported from master:
507 2025-05-02 Jakub Jelinek <[email protected]>
508
509 PR cobol/119364
510 * valconv.cc (__gg__realloc_if_necessary): Use (new_size>>16)>>16;
511 instead of new_size>>32; to avoid warnings on 32-bit hosts.
512 * common-defs.h (enum cbl_field_attr_t): Use uint64_t
513 as underlying type rather than size_t.
514 * gcobolio.h (cblc_field_t): Change attr member type from size_t
515 to unsigned long long.
516
517 2025-07-29 Rainer Orth <[email protected]>
518
519 Backported from master:
520 2025-04-21 Rainer Orth <[email protected]>
521
522 * configure.ac: Check for struct tm.tm_zone.
523 * configure, config.h.in: Regenerate.
524 * intrinsic.cc (__gg__formatted_current_date): Guard tm.tm_zone
525 use with HAVE_STRUCT_TM_TM_ZONE.
526
527 2025-04-25 Release Manager
528
529 * GCC 15.1.0 released.
530
531 2025-04-15 Andreas Schwab <[email protected]>
532
533 * configure.tgt: Set LIBGCOBOL_SUPPORTED for riscv64-*-linux* with
534 64-bit multilib.
535
536 2025-04-15 Jakub Jelinek <[email protected]>
537 Rainer Orth <[email protected]>
538
539 PR cobol/119244
540 * acinclude.m4 (LIBGCOBOL_CHECK_FLOAT128): Ensure
541 libgcob_cv_have_float128 is not yes on targets with IEEE quad
542 long double. Don't check for --as-needed nor set LIBQUADSPEC
543 on targets which USE_IEC_60559.
544 * libgcobol-fp.h (FP128_FMT, strtofp128, strfromfp128): Define.
545 * intrinsic.cc (strtof128): Don't redefine.
546 (WEIRD_TRANSCENDENT_RETURN_VALUE): Use GCOB_FP128_LITERAL macro.
547 (__gg__numval_f): Use strtofp128 instead of strtof128.
548 * libgcobol.cc (strtof128): Don't redefine.
549 (format_for_display_internal): Use strfromfp128 instead of
550 strfromf128 or quadmath_snprintf and use FP128_FMT in the format
551 string.
552 (get_float128, __gg__compare_2, __gg__move, __gg__move_literala):
553 Use strtofp128 instead of strtof128.
554 * configure: Regenerate.
555
556 2025-04-14 Andreas Schwab <[email protected]>
557
558 * libgcobol.cc (__gg__float64_from_128): Mark literal as float128
559 literal.
560
561 2025-04-13 Rainer Orth <[email protected]>
562
563 * valconv.cc (__gg__string_to_numeric_edited): Use strchr instead
564 of index.
565
566 2025-04-12 Bob Dubner <[email protected]>
567
568 PR cobol/119694
569 * gfileio.cc: Eliminate getenv() calls.
570 * libgcobol.cc: Likewise.
571
572 2025-04-10 Iain Sandoe <[email protected]>
573
574 * configure.tgt: Enable for x86_64 Darwin.
575
576 2025-04-10 Iain Sandoe <[email protected]>
577
578 PR cobol/119244
579 * Makefile.am: Add support for libquadmath.
580 * Makefile.in: Regenerate.
581 * acinclude.m4: Add support for libquadmath.
582 * config.h.in: Regenerate.
583 * configure: Regenerate.
584 * configure.ac: Configure libquadmath support.
585 * gmath.cc: Use GCOB_FP128 to represent the configured
586 128b floating point type. Use FP128_FUNC to represent
587 the naming of intrinsics in the configure 128b floating
588 point type. Render literals with GCOB_FP128_LITERAL.
589 * intrinsic.cc: Likewise.
590 * libgcobol.cc: Likewise.
591 * libgcobol.h: Likewise.
592 * libgcobol-fp.h: New file.
593 * gfileio.cc: Include libgcobol-fp.h.
594 * libgcobol.spec.in: Add libquadmath configure output.
595
596 2025-04-09 Bob Dubner <[email protected]>
597
598 PR cobol/119682
599 * common-defs.h: Define the REFER_T_REFMOD constant.
600 * intrinsic.cc: (__gg__max): Change the calls to __gg__compare_2(),
601 (__gg__min): Likewise, (__gg__ord_min): Likewise,
602 (__gg__ord_max): Likewise.
603 * libgcobol.cc: (__gg__compare_2): Change definition of calling
604 parameters, eliminate separate flag bit for ALL and ADDRESS_OF,
605 change comparison of alphanumeric to numeric when the numeric
606 is a refmod.
607 * libgcobol.h: Change declaration of __gg__compare_2.
608
609 2025-04-05 Iain Sandoe <[email protected]>
610
611 * Makefile.am: Add libgcobol.spec and dependency.
612 * Makefile.in: Regenerate.
613 * configure: Regenerate.
614 * configure.ac: Add libgcobol.spec handling.
615 * libgcobol.spec.in: New file.
616
617 2025-04-05 Iain Sandoe <[email protected]>
618
619 * aclocal.m4: Regenerate.
620 * config.h.in: Regenerate.
621 * Makefile.am: Use the configured LIBS and extra_ldflags.
622 * Makefile.in: Regenerate.
623 * configure: Regenerate.
624 * configure.ac: Shift configure to use c++. Order tests for tools
625 and environment before other tests.
626
627 2025-04-04 Iain Sandoe <[email protected]>
628
629 * Makefile.am: Use $(LIBM) to add the math lib when
630 it is needed.
631 * Makefile.in: Regenerate.
632 * configure: Regenerate.
633 * configure.ac: Check if the target wants libm.
634
635 2025-04-04 Bob Dubner <[email protected]>
636
637 * charmaps.h: Change __gg__data_return_code to 'short' type.
638 * constants.cc: Likewise.
639
640 2025-04-03 Iain Sandoe <[email protected]>
641
642 * config.h.in: Regenerate.
643 * configure: Regenerate.
644 * configure.ac: Check for availability of strfromf32 and
645 strfromf64.
646 * libgcobol.cc (strfromf32, strfromf64): New.
647
648 2025-04-03 Iain Sandoe <[email protected]>
649
650 PR cobol/119295
651 * config.h.in: Regenerate.
652 * configure: Regenerate.
653 * configure.ac: Configure random_r and friends
654 * intrinsic.cc (__gg__random): Use random_r when available.
655 (__gg__random_next): Likewise.
656
657 2025-04-03 Iain Sandoe <[email protected]>
658
659 * gfileio.cc: Include config.h.
660 * gmath.cc: Likewise.
661 * io.cc: Likewise.
662 * libgcobol.cc: Likewise.
663
664 2025-04-02 Bob Dubner <[email protected]>
665
666 PR cobol/119521
667 * intrinsic.cc: (__gg__reverse): Trim final result for intermediate_e.
668 * libgcobol.cc: (__gg__adjust_dest_size): Abort on attempt to increase
669 the size of a result. (__gg__module_name): Formatting.
670 __gg__reverse(): Resize only intermediates
671
672 2025-03-28 Bob Dubner <[email protected]>
673
674 * charmaps.cc:Eliminate "#include libgcobol.h".
675 Change comment about _Float128.
676 * common-defs.h: Change comment about _Float128. Receive
677 #defines from libgcobol.h.
678 * constants.cc: Eliminate #include libgcobol.h. Eliminate other
679 unneeded #includes.
680 * ec.h: Receive declarations from libgcobol.h.
681 * gcobolio.h: Likewise.
682 * gfileio.cc: (__gg__file_init): Use file_flag_none_e instead of
683 zero in assignment. (__gg__file_reopen): Likewise.
684 (__io__file_open): Likewise.
685 * gfileio.h: Receive declarations from libgcobol.h.
686 * libgcobol.h: Numerous declarations moved elsewhere.
687
688 2025-03-26 Jonathan Wakely <[email protected]>
689
690 * charmaps.cc (__gg__raw_to_ascii): Use auto for complicated
691 nested type.
692 (__gg__raw_to_ebcdic): Likewise.
693 (__gg__console_to_ascii): Likewise.
694 (__gg__console_to_ebcdic): Likewise.
695
696 2025-03-26 Jonathan Wakely <[email protected]>
697
698 * intrinsic.cc (is_zulu_format): Qualify toupper and cast
699 argument to unsigned char.
700 (fill_cobol_tm): Likewise.
701 (iscasematch): Likewise for to lower.
702 (numval): Qualify calls to tolower.
703 (__gg__lower_case): Use lambda expression for
704 tolower call.
705 (__gg__upper_case): Likewise for toupper call.
706 * libgcobol.cc (mangler_core): Cast tolower argument to unsigned
707 char.
708 * valconv.cc (__gg__string_to_numeric_edited): Cast to upper
709 arguments to unsigned char.
710
711 2025-03-26 Jonathan Wakely <[email protected]>
712
713 * common-defs.h (cbl_enabled_exceptions_t::operator=): Define as
714 defaulted.
715
716 2025-03-23 Bob Dubner <[email protected]>
717
718 * Makefile.am: Incorporate AM_CXXFLAGS = $(CXXFLAGS_FOR_TARGET).
719 * Makefile.in: Regenerated.
720
721 2025-03-20 Iain Sandoe <[email protected]>
722
723 * Makefile.am: Use LIBICONV.
724 * Makefile.in: Regenerate.
725 * aclocal.m4: Regenerate.
726 * config.h.in: Regenerate.
727 * configure: Regenerate.
728 * configure.ac: Check for iconv support.
729
730 2025-03-17 Bob Dubner <[email protected]>
731
732 * charmaps.cc: Remove unused headers
733 * libgcobol.h: Likewise.
734 * valconv.cc: Likewise.
735
736 2025-03-14 Richard Biener <[email protected]>
737
738 * Makefile.am: Define gcc_version.
739 * configure.ac: Execute GCC_BASE_VER.
740 * Makefile.in: Regenerated.
741 * configure: Likewise.
742
743 2025-03-12 Jonathan Wakely <[email protected]>
744
745 * charmaps.cc: Fix typo in comment.
746
747 2025-03-11 Jakub Jelinek <[email protected]>
748
749 * config.h.in: Regenerate.
750
751 2025-03-11 Jakub Jelinek <[email protected]>
752
753 PR cobol/119216
754 * configure.tgt: On fully unsupported targets set UNSUPPORTED=1.
755 * configure.ac: Add AC_CHECK_SIZEOF([void *]), source in
756 configure.tgt and set BUILD_LIBGCOBOL also based on
757 LIBGCOBOL_SUPPORTED.
758 * Makefile.am (toolexeclib_LTLIBRARIES): Conditionalize on
759 BUILD_LIBGCOBOL.
760 (AM_CFLAGS): Rename to ...
761 (AM_CXXFLAGS): ... this.
762 (%.lo: %.cc): Use $(AM_CXXFLAGS) rather than $(AM_CFLAGS).
763 * configure: Regenerate.
764 * Makefile.in: Regenerate.
765
766 2025-03-11 Jakub Jelinek <[email protected]>
767
768 * Makefile.am: Remove tons of VAR = @VAR@ style lines.
769 (libgcobol.la): Remove.
770 (libgcobol_la_LFLAGS): Remove.
771 (all): Remove.
772 (.PHONY): Remove.
773 (install): Remove.
774 (%.lo: %.c): Remove.
775 (doc): Remove.
776 (install-html install-pdf install-info): Remove.
777 * Makefile.in: Regenerate.
778
779 2025-03-11 Jakub Jelinek <[email protected]>
780
781 * configure.tgt: Remove x86_64-*-linux*x32 special case.
782
783 2025-03-11 Jakub Jelinek <[email protected]>
784
785 * configure.tgt: Only set LIBGCOBOL_SUPPORTED for lp64
786 multilibs of powerpc64le-*-linux* and x86_64-*-linux*. Handle
787 i?86-*-linux* the same as x86_64-*-linux*.
788
789 2025-03-11 James K. Lowden <[email protected]>
790
791 * Makefile.am: New file.
792 * Makefile.in: Autogenerate.
793 * acinclude.m4: Likewise.
794 * aclocal.m4: Likewise.
795 * configure.ac: New file.
796 * configure: Autogenerate.
797 * configure.tgt: New file.
798 * README: New file.
799 * charmaps.cc: New file.
800 * config.h.in: New file.
801 * constants.cc: New file.
802 * gfileio.cc: New file.
803 * gmath.cc: New file.
804 * io.cc: New file.
805 * valconv.cc: New file.
806 * charmaps.h: New file.
807 * common-defs.h: New file.
808 * ec.h: New file.
809 * exceptl.h: New file.
810 * gcobolio.h: New file.
811 * gfileio.h: New file.
812 * gmath.h: New file.
813 * io.h: New file.
814 * libgcobol.h: New file.
815 * valconv.h: New file.
816 * libgcobol.cc: New file.
817 * intrinsic.cc: New file.
818
819
820 Copyright (C) 2025 Free Software Foundation, Inc.
821
822 Copying and distribution of this file, with or without modification,
823 are permitted in any medium without royalty provided the copyright
824 notice and this notice are preserved.