diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-01 15:07:15 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-08-03 09:25:46 +0200 |
commit | 7c99de1c439dbb149cc6a33a214f22f2df1c88f3 (patch) | |
tree | 0759376a526e736b011704274d3df61049d4e041 /libgo/go/cmd/internal/codesign/codesign.go | |
parent | 94edbc153ae4f1c1532859836e528fc480da82d6 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The following plugs possible overflow issues in vn_reference_compute_hash
and possibly in vn_reference_eq. The inchash "integer" adds are a bit
of a mess, but I know overloads with different integer types can get
messy, so not this time. For hashing simply truncate to 64bits.
PR tree-optimization/90242
* tree-ssa-sccvn.cc (vn_reference_compute_hash): Use
poly_offset_int for offset accumulation. For hashing
truncate to 64 bits and also hash 64 bits.
(vn_reference_eq): Likewise.
Diffstat (limited to 'libgo/go/cmd/internal/codesign/codesign.go')
0 files changed, 0 insertions, 0 deletions