This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/25097] new -Warray-bounds with GCC 10


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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cba932a5a9e91cffd7f4172d7e91f9b2efb1f84b

commit cba932a5a9e91cffd7f4172d7e91f9b2efb1f84b
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue Nov 12 12:41:34 2019 +0100

    slotinfo in struct dtv_slotinfo_list should be flexible array [BZ #25097]

    GCC 10 will warn about subscribing inner length zero arrays.  Use a GCC
    extension in csu/libc-tls.c to allocate space for the static_slotinfo
    variable.  Adjust nptl_db so that the type description machinery does
    not attempt to determine the size of the flexible array member slotinfo.

    Change-Id: I51be146a7857186a4ede0bb40b332509487bdde8

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]