https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97554
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- commit 50f9e1f4d458e36d306b2449c689e45492847f68 (HEAD -> trunk, origin/master, origin/HEAD) 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> * sbitmap.c (sbitmap_vector_alloc): Use size_t for byte quantities to avoid overflow.