]> git.ipfire.org Git - thirdparty/gcc.git/commit
cobol: Variety of small changes in answer to cppcheck diagnostics.
authorJames K. Lowden <jklowden@cobolworx.com>
Tue, 10 Jun 2025 14:34:28 +0000 (10:34 -0400)
committerRobert Dubner <rdubner@symas.com>
Tue, 29 Jul 2025 16:06:39 +0000 (12:06 -0400)
commitf79a7d0f7b3f79c8e234ca870c0abf5b3101368e
treec8d4459da2d5d95b581f9c6ba4cf2e3b41e73a7d
parentcd1fd184020d319d117768f2de1500569b3b1e67
cobol: Variety of small changes in answer to cppcheck diagnostics.

Remove non-ASCII input and blank lines from gcobol.1. Restrict
cobol.clean target to compiler object files.

gcc/cobol/ChangeLog:

* Make-lang.in: cobol.clean does not remove libgcobol files.
* cdf.y: Suppress 1 cppcheck false positive.
* cdfval.h (scanner_parsing):  Partial via cppcheck for PR119324.
* gcobol.1: Fix groff errors.
* gcobolspec.cc (append_arg): Const parameter.
* parse_ante.h (intrinsic_call_2): Avoid NULL dereference.

(cherry picked from commit 70c3dd9a81cdefcaf24a66ec0c1ceddf5d3984dd)
gcc/cobol/Make-lang.in
gcc/cobol/cdf.y
gcc/cobol/cdfval.h
gcc/cobol/gcobol.1
gcc/cobol/gcobolspec.cc
gcc/cobol/parse_ante.h