gcc/libgcobol
Bob Dubner 6704d95ec8 cobol: Proper comparison of alphanumeric to refmoded numeric-display [PR119682]
gcc/cobol

	PR cobol/119682
	* genapi.cc: (cobol_compare): Change the call to __gg__compare().

libgcobol

	PR cobol/119682
	* common-defs.h: Define the REFER_T_REFMOD constant.
	* intrinsic.cc: (__gg__max): Change the calls to __gg__compare_2(),
	(__gg__min): Likewise, (__gg__ord_min): Likewise,
	(__gg__ord_max): Likewise.
	* libgcobol.cc: (__gg__compare_2): Change definition of calling
	parameters, eliminate separate flag bit for ALL and ADDRESS_OF,
	change comparison of alphanumeric to numeric when the numeric
	is a refmod.
	* libgcobol.h: Change declaration of __gg__compare_2.
2025-04-09 17:10:54 -04:00
..
acinclude.m4
aclocal.m4 libgcobol: C++-ify the configuration steps. 2025-04-05 14:22:53 +01:00
ChangeLog Daily bump. 2025-04-06 00:17:12 +00:00
charmaps.cc cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
charmaps.h cobol: Eliminate cobolworx UAT errors when compiling with -Os 2025-04-04 14:09:09 -04:00
common-defs.h cobol: Proper comparison of alphanumeric to refmoded numeric-display [PR119682] 2025-04-09 17:10:54 -04:00
config.h.in libgcobol: C++-ify the configuration steps. 2025-04-05 14:22:53 +01:00
configure cobol, driver, libgcobol: Add support for libgcobol.spec. 2025-04-05 14:24:33 +01:00
configure.ac cobol, driver, libgcobol: Add support for libgcobol.spec. 2025-04-05 14:24:33 +01:00
configure.tgt cobol: Fix up libgcobol configure [PR119216] 2025-03-11 14:36:53 +01:00
constants.cc cobol: Eliminate cobolworx UAT errors when compiling with -Os 2025-04-04 14:09:09 -04:00
ec.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
exceptl.h
gcobolio.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
gfileio.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
gfileio.h cobol: Confine all __int128/_Float128 references to libgcobol. 2025-03-28 12:21:05 -04:00
gmath.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
gmath.h
intrinsic.cc cobol: Proper comparison of alphanumeric to refmoded numeric-display [PR119682] 2025-04-09 17:10:54 -04:00
io.cc libgcobol: Ensure that config.h is included where needed. 2025-04-03 14:32:27 +01:00
io.h
libgcobol.cc cobol: Proper comparison of alphanumeric to refmoded numeric-display [PR119682] 2025-04-09 17:10:54 -04:00
libgcobol.h cobol: Proper comparison of alphanumeric to refmoded numeric-display [PR119682] 2025-04-09 17:10:54 -04:00
libgcobol.spec.in cobol, driver, libgcobol: Add support for libgcobol.spec. 2025-04-05 14:24:33 +01:00
Makefile.am cobol, driver, libgcobol: Add support for libgcobol.spec. 2025-04-05 14:24:33 +01:00
Makefile.in cobol, driver, libgcobol: Add support for libgcobol.spec. 2025-04-05 14:24:33 +01:00
README
valconv.cc libgcobol: Fix uses of tolower and toupper with std::transform 2025-03-26 16:49:11 -04:00
valconv.h

The libgcobol is intended for use entirely and solely by executables created
from COBOL source code by the GCOBOL "COBOL for GCC" front end.

libgcobol.a can be staticly linked in, but it makes for very large binaries. We
tend to use that for debugging the GCOBOL compiler, and not much else

Many of the functions in the library are called by the executable code generated
by the GCOBOL compiler through GIMPLE tags, and thus prototypes -- which are 
part of the C/C++ programming paradigm -- are not used.  Both the calling
program and the called program use the extern "C" construction so that the
linker can find the functions, and they need to agree ahead of time about the
meaning of passed parameters.