aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-10-26 10:10:46 +0100
committerRichard Biener <rguenther@suse.de>2020-10-26 11:33:50 +0100
commit50f9e1f4d458e36d306b2449c689e45492847f68 (patch)
treee5d464d5871c6db110edc455ba97abd07368ca13 /gcc/expr.c
parent27c14056f4805c9d8cfc655ef2c846be128b02c9 (diff)
downloadgcc-50f9e1f4d458e36d306b2449c689e45492847f68.zip
gcc-50f9e1f4d458e36d306b2449c689e45492847f68.tar.gz
gcc-50f9e1f4d458e36d306b2449c689e45492847f68.tar.bz2
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> * sbitmap.c (sbitmap_vector_alloc): Use size_t for byte quantities to avoid overflow.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions