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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

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

commit r15-9455-ge96cb35ceb08bb6d12670172115f27819c806e82
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Apr 14 19:32:06 2025 +0200

    cobol: Drop -fsyntax-only from COBOL lang.opt [PR119777]

    The comment is incorrect, fsyntax-only is not documented in c.opt,
    but in common.opt:
    fsyntax-only
    Common Var(flag_syntax_only)
    Check for syntax errors, then stop.
    and as such it applies to all languages, so adding CL_Cobol to
    the CL_COMMON is both unnecessary and because of RejectNegative which
    contradicts the generic option very harmful, because it makes
    -fno-syntax-only invalid for all languages.

    Fixed by just dropping it.

    2025-04-14  Jakub Jelinek  <ja...@redhat.com>

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

Reply via email to