>From f89a50238de62b73d9fc44ee7226461650ab119d Tue 18 Feb 2025 04:19:10 PM EST
From: "James K. Lowden" <[email protected]>
Date: Tue 18 Feb 2025 04:19:10 PM EST
Subject: [PATCH] COBOL 2/14 8.0K pre: introduce ChangeLog files
gcc/cobol/ChangeLog
* ChangeLog: New file.
libgcobol/ChangeLog
* /ChangeLog: New file.
---
gcc/cobol/ChangeLog |
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
libgcobol/ChangeLog | +++++++++++++++++++
2 files changed, 166 insertions(+), 2 deletions(-)
diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog
new file mode 100644
index 00000000000..620265df68e
--- /dev/null
+++ b/gcc/cobol/ChangeLog
@@ -0,0 +1,147 @@
+2025-02-17 Robert Dubner <[email protected]>
+ * Moved #include <math.h> from genapi.cc to cobol-system.h as
+ #include <cmath>
+ * Removed GCOBOL_FOR_TARGET from <repo>/Makefile.def
+ * Removed if $USER = "bob" stuff from cobol/Make-lang.in
+ * Backed -std=c++17 down to c++14 in cobol/Make-lang.in
+ * Removed the single c++17 dependency from show_parse.h ANALYZER
+ * Removed -Wno-cpp from cobol/Make-lang.in
+ * Removed Wno-missing-field-initializers from cobol/Make-lang.in
+ * Added some informative comments to placeholder functions in cobol1.cc
+ * Removed a call to build_tree_list() in cobol1.cc
+ * Use default for LANG_HOOKS_TYPE_FOR_SIZE in cobol1.cc
+ * Commented out, but saved, unused code in convert.cc
+ * Eliminated numerous "-Wmissing-field-initializers" warnings
+
+2025-02-16 Robert Dubner <[email protected]>
+ * Added GTY(()) tags to gengen.h and structs.h. Put includes for them
into
+ cobol1.cc
+ * Removed some fixed-length text buffers for handling mangled names
+
+2025-02-11 Robert Dubner <[email protected]>
+ * libgcobol quietly is not built for -m32 systems in a multi-lib build
+ * configure.ac allows COBOL only for x86_64 and aarch64 architectures.
+ Other systems get a warning and the COBOL language is suppressed.
+
+2025-02-07 Robert Dubner <[email protected]>
+ * Modified configure.ac and Makefile.in to notice that MULTISUBDIR=/32
to
+ suppress 32-builds.
+ * Eliminate -Wunused-result warning in libgcobol.cc compilation
+
+2025-01-28 Robert Dubner <[email protected]>
+ * Remove TRACE1 statements from parser_enter_file and parser_leave_file;
+ they are incompatible with COPY statements in the DATA DIVISION.
+
+2025-01-24 Robert Dubner <[email protected]>
+ * Eliminated missing main() error message; we now rely on linker error
+ * Cleaned up valconv-dupe and charmaps-dupe processing in Make-lang.in
+
+2025-01-21 Robert Dubner <[email protected]>
+ * Eliminated all "local" #includes from .h files; they are instead
included,
+ in order, in the .cc files.
+
+2025-01-16 Robert Dubner <[email protected]>
+ * Code 88 named-conditional comparisons for floating-point
+
+2025-01-06 Robert Dubner <[email protected]>
+ * Updated warning in tests/check_88 and etests/check_88
+ * Updated some UAT error messages.
+
+2025-01-03 Robert Dubner <[email protected]>
+ * Eliminate old "#if 0" code
+ * Modify line directives to skip over paragraph/section labels:
+ * Unwrapped asprintf calls in assert(), because it was a stupid error.
+
+2025-01-01 Robert Dubner <[email protected]>
+ * Eliminate proc->target_of_call variable; it was unused.
+ * Wrap asprintf calls in assert() to suppress compiler warnings.
+
+2024-12-27 Robert Dubner <[email protected]>
+ * Use built_in version of realloc and free
+ * Use built_in version of strdup, memchr, and memset
+ * Use built_in version of abort
+ * Use built_in version of exit
+ * Use built_in version of strncmp
+ * Use built_in version of strcmp
+ * Use built_in version of strcpy
+
+2024-12-27 Robert Dubner <[email protected]>
+ * Put called_by_main_counter in static memory, not the stack!
+
+2024-12-26 Robert Dubner <[email protected]>
+ * Use built_in version of memcpy
+ * Use built_in version of malloc; required initialization
+ during lang_hook_init
+
+2024-12-25 Robert Dubner <[email protected]>
+ * Normalize #includes in util.cc
+ * Normalize #includes in symfind.cc
+ * Normalize #includes in cdf-copy.cc and copybook.h
+ * Normalize #includes in lexio.cc
+ * Normalize #includes in cdf.y
+ * Normalize #includes in scan.l
+ required the creation of fisspace and fisdigit in util.cc
+ * Normalize #includes in parse.y
+ required the creation of ftolower in util.cc. Jim uses things like
+ std::transform, which can't take TOLOWER because it is a macro. So I
+ wrapped those necessary macros into functions.
+ * Normalize #includes in symbols.h.cc
+
+2024-12-23 Robert Dubner <[email protected]>
+
+ * Created ChangeLog
+ * Eliminate vestigial ".global" code
+ * Create "cobol-system.h" file.
+ trimmed .h files in cobol1.cc
+ trimmed .h files in convert.cc
+ trimmed .h files in except.cc
+ trimmed .h files in gcobolspec.cc
+ trimmed .h files in genapi.cc
+ trimmed .h files in gengen.cc
+ trimmed .h files in genmath.cc
+ trimmed .h files in genutil.cc
+ trimmed .h files in structs.cc
+
+ * Eliminate vestigial unused code from the PERFORM-PROC-AS_CALL
experiment
+ * Fix TRACE1 problems with FldConditionals and parser_leave_file
+ * Introduce cbl_message, cbl_warnx, cbl_error, cbl_internal_error
+ convert genapi.cc to cbl_warnx and cbl_internal_error
+ convert cdf-copy.cc to cbl_warnx
+ convert cdf.y to cbl_warnx
+ convert parse.y CDF display to cbl_message
+ convert lexio.cc to cbl_warnx
+ convert cobol1.cc to cbl_warnx
+ convert copybook.h to cbl_warnx
+ convert except.cc to cbl_internal_error and cbl_message
+ convert genapi.cc to cbl_internal_error and cbl_message
+ convert gengen.cc to cbl_internal_error and cbl_message
+ convert genmath.cc to cbl_internal_error and cbl_message
+ convert inspect.h to cbl_warnx
+ convert lexio.cc to cbl_warnx
+ convert parse.y cbl_warnx
+ convert symfind.cc to cbl_warnx
+ convert util.cc to cbl_warnx
+ convert show-parse.h to cbl_warnx
+ convert symbols.h to cbl_warnx
+ convert symbols.cc to cbl_warnx
+ fixed UAT for recursive copybook file warnings
+ convert scan_ante.h to cbl_warnx
+ convert scan_post.h to cbl_warnx
+ convert scan.l to cbl_warnx
+ convert parse_ante.h to cbl_warnx
+ convert parse_util.h to cbl_warnx
+ gcc/cobol has no calls to warnx
+ gcc/cobol has no need for "err.h", and all calls have been converted to
+ cbl_warn, cbl_warnx, cbl_err, cbl_errx
+
+2024-12-22 Robert Dubner <[email protected]>
+
+ * Reorganized libgcobol and gcc/cobol
+ libgcobol now compiles independently of gcc/cobol
+ gcc/cobol compiles using some .h and .cc files from gcc/libgcobol
+^L
+Copyright (C) 2022 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog
new file mode 100644
index 00000000000..e1dcd66225e
--- /dev/null
+++ b/libgcobol/ChangeLog
@@ -0,0 +1,19 @@
+2025-02-16 Robert Dubner <[email protected]>
+ * Eliminate obsolete error message referencing LANGUAGES
+ * Eliminate garbage collection boilerplate cloned from objective-c
+
+2025-02-11 Robert Dubner <[email protected]>
+ * libgcobol quietly is not built for -m32 systems in a multi-lib build
+ * configure.ac allows COBOL only for x86_64 and aarch64 architectures.
+ Other systems get a warning and the COBOL language is suppressed.
+
+2025-02-07 Robert Dubner <[email protected]>
+ * Modified configure.ac and Makefile.in to notice that MULTISUBDIR=/32
to
+ suppress 32-bit builds.
+ * Eliminate -Wunused-result warning in libgcobol.cc compilation
+^L
+Copyright (C) 2022 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.