aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/array-view-selftests.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-02-21 21:59:40 +1030
committerAlan Modra <amodra@gmail.com>2024-02-21 23:40:12 +1030
commitf96127310144d360eac93444c1b6efe80497d163 (patch)
treeb8d17728ae0ea276d56d1228940ddf27e69461a8 /gdb/unittests/array-view-selftests.c
parentf618d7fda20afe68c5c3979c4c1be40714e8e5a0 (diff)
downloadbinutils-f96127310144d360eac93444c1b6efe80497d163.zip
binutils-f96127310144d360eac93444c1b6efe80497d163.tar.gz
binutils-f96127310144d360eac93444c1b6efe80497d163.tar.bz2
Re: PR29785, memory bloat after b43771b045fb
Commit 7bd1e04a3532 introduced "dwarf2.c:2152:29: runtime error: shift exponent 64 is too large". This is on the bucket_high_pc calculation which was moved to the top of insert_arange_in_trie where previously it was later, at a point where the overflow could not occur. Move it back and arrange for a duplicate calculation of bucket_high_pc which is also protected from overflow. PR 29785 * dwarf2.c (insert_arange_in_trie): Split bucket_high_pc. Move trie_pc_bits < VMA_BITS into splitting_leaf_will_help.
Diffstat (limited to 'gdb/unittests/array-view-selftests.c')
0 files changed, 0 insertions, 0 deletions