bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/27097] Gold failed to build with -O0 using GCC 11


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/27097] Gold failed to build with -O0 using GCC 11
Date: Sat, 19 Dec 2020 21:44:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27097

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97aac4ec3293dc4a3fdb45a744a2991ae56514c2

commit 97aac4ec3293dc4a3fdb45a744a2991ae56514c2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Dec 19 13:30:39 2020 -0800

    gold: Move sym declaration just before use

    Move sym declaration just before use to avoid -Wmaybe-uninitialized
    warning from GCC 11.

            PR gold/27097
            * incremental.cc (Sized_relobj_incr::do_add_symbols): Move sym
            declaration just before use.
            (Sized_incr_dynobj::do_add_symbols): Likewise.
            * plugin.cc (Sized_pluginobj::do_add_symbols): Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]