bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23146] Many targets won't build with GCC 8


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/23146] Many targets won't build with GCC 8
Date: Mon, 04 Jun 2018 17:07:45 +0000

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

--- Comment #5 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 <address@hidden>:

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

commit 95da9854466ada2572b42f5528711a06a2d42db1
Author: H.J. Lu <address@hidden>
Date:   Mon Jun 4 10:01:34 2018 -0700

    Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8.1

    GCC 8.1 warns about destination size with -Wstringop-truncation:

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

    Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence it.

    bfd/

        PR binutils/23146
        * bfd-in.h: Include "diagnostics.h".
        * bfd-in2.h: Regenerated.
        * elf32-arm.c (elf32_arm_nabi_write_core_note): Use
        DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and
        DIAGNOSTIC_POP to silence GCC 8.1 warnings with
        -Wstringop-truncation.
        * elf32-ppc.c (ppc_elf_write_core_note): Likewse.
        * elf32-s390.c (elf_s390_write_core_note): Likewse.
        * elf64-ppc.c (ppc64_elf_write_core_note): Likewse.
        * elf64-s390.c (elf_s390_write_core_note): Likewse.
        * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse.

    include/

        * diagnostics.h (DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION): Always
        define for GCC.

-- 
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]