[Bug rtl-optimization/97554] ICE: during RTL pass: cprop /segfault in sbitmap
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 1 11:02:40 GMT 2020
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
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:46384dc73076d945c9222b3f0850a9aa3e694eda
commit r8-10657-g46384dc73076d945c9222b3f0850a9aa3e694eda
Author: Richard Biener <rguenther@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 <rguenther@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)
More information about the Gcc-bugs
mailing list