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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:9d769cdde26d87043da0e1ffdee51010a71f49c2

commit r10-9098-g9d769cdde26d87043da0e1ffdee51010a71f49c2
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Oct 26 10:10:46 2020 +0100

    middle-end/97554 - avoid overflow in alloc size compute

    This avoids overflow in the allocation size computations in
    sbitmap_vector_alloc when the result exceeds 2GB.

    2020-10-26  Richard Biener  <rguent...@suse.de>

            PR middle-end/97554
            * sbitmap.c (sbitmap_vector_alloc): Use size_t for byte
            quantities to avoid overflow.

    (cherry picked from commit 50f9e1f4d458e36d306b2449c689e45492847f68)

Reply via email to