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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sergei Trofimovich <sly...@gcc.gnu.org>:

https://gcc.gnu.org/g:2551e10038a70901f30b2168e6e3af4536748f3c

commit r14-4439-g2551e10038a70901f30b2168e6e3af4536748f3c
Author: Sergei Trofimovich <siarh...@google.com>
Date:   Mon Oct 2 12:08:17 2023 +0100

    Makefile.tpl: disable -Werror for feedback stage [PR111663]

    Without the change profiled bootstrap fails for various warnings on
    master branch as:

        $ ../gcc/configure
        $ make profiledbootstrap
        ...
        gcc/genmodes.cc: In function âint main(int, char**)â:
        gcc/genmodes.cc:2152:1: error: âgcc/build/genmodes.gcdaâ profile
count data file not found [-Werror=missing-profile]
        ...
        gcc/gengtype-parse.cc: In function âvoid parse_error(const char*,
...)â:
        gcc/gengtype-parse.cc:142:21: error: â%sâ directive argument is
null [-Werror=format-overflow=]

    The change removes -Werror just like autofeedback does today.

    /

            PR bootstrap/111663
            * Makefile.tpl (STAGEfeedback_CONFIGURE_FLAGS): Disable -Werror.
            * Makefile.in: Regenerate.

Reply via email to