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

--- Comment #2 from CVS 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:9ea451e27934939d490553d3a394e8cbf9cefda8

commit r12-6819-g9ea451e27934939d490553d3a394e8cbf9cefda8
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Sat Jan 22 19:04:41 2022 +0100

    ootstrap: Fix bootstrap with --disable-plugin [PR104176]

    With --disable-plugin, bootstrap fails on x86_64-linux or probably
    all other targets with:
    ../../gcc/opts-global.cc: In function âvoid
handle_common_deferred_options()â:
    ../../gcc/opts-global.cc:420:62: error: unquoted option name
â--enable-pluginâ in format [-Werror=format-diag]
      420 |           error ("plugin support is disabled; configure with
--enable-plugin");
          |                                                             
^~~~~~~~~~~~~~~
    ../../gcc/opts-global.cc:428:62: error: unquoted option name
â--enable-pluginâ in format [-Werror=format-diag]
      428 |           error ("plugin support is disabled; configure with
--enable-plugin");
          |                                                             
^~~~~~~~~~~~~~~

    The following patch fixes that.

    2022-01-22  Jakub Jelinek  <ja...@redhat.com>

            PR other/104176
            * opts-global.cc (handle_common_deferred_options): Quote
            --enable-plugin in diagnostics to avoid -Werror=format-diag.

Reply via email to