https://gcc.gnu.org/g:d0e8a8e3139a726069969e8806d192c776888e0e

commit r16-6911-gd0e8a8e3139a726069969e8806d192c776888e0e
Author: Jakub Jelinek <[email protected]>
Date:   Tue Jan 20 01:18:51 2026 +0100

    cobol: Fix up -Wmove-index option description
    
    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:
    
    2026-01-20  Jakub Jelinek  <[email protected]>
    
            * lang.opt (Wmove-index): Add missing dot at the end of description.

Diff:
---
 gcc/cobol/lang.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cobol/lang.opt b/gcc/cobol/lang.opt
index e04ba86dad99..d6c2b3cea556 100644
--- a/gcc/cobol/lang.opt
+++ b/gcc/cobol/lang.opt
@@ -141,7 +141,7 @@ Warn if ANY LENGTH is used in outermost program.
 ; 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

Reply via email to