This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 bootstrap/80486] spurious -Walloc-size-larger-than and -Wstringop-overflow in dominance.c during profiledbootstrap


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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Tue Apr 25 17:18:39 2017
New Revision: 247261

URL: https://gcc.gnu.org/viewcvs?rev=247261&root=gcc&view=rev
Log:
PR bootstrap/80486 - spurious -Walloc-size-larger-than and -Wstringop-overflow
in dominance.c during profiledbootstrap

gcc/ChangeLog:

        PR bootstrap/80486
        * dominance.c (dom_info::m_n_basic_blocks): Change type to unsigned.
        (new_zero_array): Adjust signature.
        (dom_info::dom_init): Used unsigned rather that size_t.
        (dom_info::dom_info): Same.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dominance.c

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