GnuCOBOL 3.1.2 includes many new features compared to the previous release, while maintaining full source compatibility - (too much to note here but found in the NEWS file), here are some of the highlights:
Huge improvements for compatibility to different COBOL dialects, better error handling and adjustable exceptions per COBOL 2002/2014; more modern format for diagnostic messages (especially useful when used in an integrated development environment possible in Emacs, Vim, VSCodium and others) and improved source-level debugging - along with all the features seen in 3.1-rc1 (+ TYPEDEF
s).
https://ftpmirror.gnu.org/gnucobol/
https://sourceforge.net/projects/gnucobol/files/gnucobol/3.1/
Pre-built binaries are also available, many package managers for system repositories already updated the system "gnucobol" package - if you only find an old version or the unstable 4.x you're invited to drop them a note.