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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

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

commit r12-8269-gcd4acb8cd9e45fd35664baa5b0a3150e479aae32
Author: Martin Liska <mli...@suse.cz>
Date:   Tue Apr 26 09:56:37 2022 +0200

    lto: use diagnostics_context in print_lto_docs_link

    Properly parse OPT_fdiagnostics_urls_ and then initialize both urls
    and colors for global_dc. Doing that we would follow the configure
    option --with-documentation-root-url, -fdiagnostics-urls is respected.
    Plus we'll print colored warning and note messages.

            PR lto/105364

    gcc/ChangeLog:

            * lto-wrapper.cc (print_lto_docs_link): Use global_dc.
            (run_gcc): Parse OPT_fdiagnostics_urls_.
            (main): Initialize global_dc.

Reply via email to