diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2023-05-14 19:30:21 +0200 |
---|---|---|
committer | Thomas Neumann <tneumann@users.sourceforge.net> | 2023-05-15 11:46:29 +0200 |
commit | 9be9be828dc9020735bc7eacddd1ceae1aeedb1b (patch) | |
tree | 3b85e671b0b12d240594c5cbc154cc77d59d11b6 /libgomp/testsuite/lib/libgomp.exp | |
parent | 8d1c1b02d6e9c8d211bb1fa634406164483236ba (diff) | |
download | gcc-9be9be828dc9020735bc7eacddd1ceae1aeedb1b.zip gcc-9be9be828dc9020735bc7eacddd1ceae1aeedb1b.tar.gz gcc-9be9be828dc9020735bc7eacddd1ceae1aeedb1b.tar.bz2 |
fix assert in __deregister_frame_info_bases
The assertion in __deregister_frame_info_bases assumes that for every
frame something was inserted into the lookup data structure by
__register_frame_info_bases. Unfortunately, this does not necessarily
hold true as the btree_insert call in __register_frame_info_bases will
not insert anything for empty ranges. Therefore, we need to explicitly
account for such empty ranges in the assertion as `ob` will be a null
pointer for such ranges, hence causing the assertion to fail.
Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
libgcc/ChangeLog:
* unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
Diffstat (limited to 'libgomp/testsuite/lib/libgomp.exp')
0 files changed, 0 insertions, 0 deletions