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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>:

https://gcc.gnu.org/g:3c5422e719d1fbabccaa9b63605171ea8bdfe57e

commit r15-7463-g3c5422e719d1fbabccaa9b63605171ea8bdfe57e
Author: Gaius Mulley <gaiusm...@gmail.com>
Date:   Tue Feb 11 01:26:43 2025 +0000

    PR modula2/118761: gm2 driver doesnt behave as gcc for -fhelp=BLA

    This patch enables the gm2 driver to handle -fsyntax-only
-fhelp=optimizers,
    for example, correctly without terminating with gm2: fatal error:
    no input files.

    gcc/m2/ChangeLog:

            PR modula2/118761
            * gm2spec.cc (lang_specific_driver): Add case clauses for
            OPT__help, OPT__help_ set in_added_libraries to 0 and early
            return.

    Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>

Reply via email to