[committed] cobol: Fix up -Wmove-index option description
Jakub Jelinek
jakub@redhat.com
Tue Jan 20 00:46:35 GMT 2026
Hi!
On Fri, Jan 16, 2026 at 09:10:34PM -0600, Robert Dubner wrote:
> +; MfMoveIndex
> +Wmove-index
> +Cobol Warning Var(move_index, 1) Init(1)
> +Warn if MOVE INDEX is used
I'm seeing
FAIL: compiler driver --help=warnings option(s): "^ +-.*[^:.]\$" absent from output: " -Wmove-index Warn if MOVE INDEX is used"
That is a test which verifies all option descriptions end with a dot or semicolon.
Fixed thusly, committed as obvious to trunk.
2026-01-20 Jakub Jelinek <jakub@redhat.com>
* lang.opt (Wmove-index): Add missing dot at the end of description.
--- gcc/cobol/lang.opt.jj 2026-01-17 14:35:11.433781865 +0100
+++ gcc/cobol/lang.opt 2026-01-20 01:14:27.380174335 +0100
@@ -141,7 +141,7 @@ Warn if ANY LENGTH is used in outermost
; MfMoveIndex
Wmove-index
Cobol Warning Var(move_index, 1) Init(1)
-Warn if MOVE INDEX is used
+Warn if MOVE INDEX is used.
; MfMovePointer
Wmove-pointer
Jakub
More information about the Gcc-patches
mailing list