https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97554
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:46384dc73076d945c9222b3f0850a9aa3e694eda commit r8-10657-g46384dc73076d945c9222b3f0850a9aa3e694eda 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)