https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119777

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For -fsyntax-only I'd go with
2025-04-14  Jakub Jelinek  <ja...@redhat.com>

        PR cobol/119777
        * lang.opt (fsyntax-only): Remove.
        * lang.opt.urls: Regenerate.

--- gcc/cobol/lang.opt.jj       2025-04-08 14:08:48.662317907 +0200
+++ gcc/cobol/lang.opt  2025-04-14 10:56:28.739693026 +0200
@@ -77,10 +77,6 @@ ffixed-form
 Cobol RejectNegative
 Assume that the source file is fixed form.

-fsyntax-only
-Cobol RejectNegative
-; Documented in c.opt
-
 ffree-form
 Cobol RejectNegative
 Assume that the source file is free form.
--- gcc/cobol/lang.opt.urls.jj  2025-04-08 14:08:48.662317907 +0200
+++ gcc/cobol/lang.opt.urls     2025-04-14 10:57:06.579176798 +0200
@@ -13,9 +13,6 @@ UrlSuffix(gcc/Directory-Options.html#ind
 ffixed-form
 LangUrlSuffix_Fortran(gfortran/Fortran-Dialect-Options.html#index-ffixed-form)

-fsyntax-only
-UrlSuffix(gcc/Warning-Options.html#index-fsyntax-only)
LangUrlSuffix_D(gdc/Warnings.html#index-fno-syntax-only)
LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-fsyntax-only)
-
 ffree-form
 LangUrlSuffix_Fortran(gfortran/Fortran-Dialect-Options.html#index-ffree-form)

Reply via email to