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

--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_43-branch branch has been updated by Sam James
<sja...@sourceware.org>:

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

commit 3a88870559ff297dd3d11abacbfc2b5a1bda5f3e
Author: Sam James <s...@gentoo.org>
Date:   Sat Nov 16 05:03:52 2024 +0000

    opcodes: fix -std=gnu23 compatibility wrt static_assert

    static_assert is declared in C23 so we can't reuse that identifier:
    * Define our own static_assert conditionally;

    * Rename "static assert" hacks to _N as we do already in some places
      to avoid a conflict.

    ChangeLog:
            PR ld/32372

            * i386-gen.c (static_assert): Define conditionally.
            * mips-formats.h (MAPPED_INT): Rename identifier.
            (MAPPED_REG): Rename identifier.
            (OPTIONAL_MAPPED_REG): Rename identifier.
            * s390-opc.c (static_assert): Define conditionally.

    (cherry picked from commit 8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4)

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

Reply via email to