[Top][All Lists]

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

[Bug gold/27815] gold fails to build with latest GCC

From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/27815] gold fails to build with latest GCC
Date: Tue, 20 Jul 2021 12:04:58 +0000


--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_37-branch branch has been updated by Alan Modra


commit 10b4dbbf281397e2827820c715c39559c7f7a29d
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jul 20 18:46:57 2021 +0930

    PR28106, build of 2.37 fails on FreeBSD and Clang

    https://en.cppreference.com/w/cpp/types/NULL says NULL might be
    defined as nullptr.
    https://en.cppreference.com/w/cpp/language/reinterpret_cast says
    reinterpret_cast can't be used on nullptr.

            PR gold/28106
            PR gold/27815
            * gc.h (gc_process_relocs): Use static_cast in Section_id

    (cherry picked from commit b97bd976233ee4d43c2fe18f6356e62779cbe82d)

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]