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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in r270788:

Postpone print of --help=* option.

2019-05-02  Martin Liska  <mli...@suse.cz>

        * gcc.c (process_command): Add dummy file only
        if n_infiles == 0.
        * opts-global.c (decode_options): Pass lang_mask.
        * opts.c (print_help): New function.
        (finish_options): Print --help if help_option_argument
        is set.
        (common_handle_option): Factor out content of OPT__help_
        into print_help.
        * opts.h (finish_options): Add new argument.

Reply via email to