diff options
| author | Jason Merrill <jason@redhat.com> | 2025-11-14 17:52:57 +0530 |
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2025-11-15 11:42:21 +0530 |
| commit | 4b84e561856599f82ce8f12a876ade388d5db330 (patch) | |
| tree | 43fb25cc5d3eacb74a90befbca7196b6ab508f6d /libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java | |
| parent | feccb9c9cd6ccab3fa75e2ca3f533e02de15750f (diff) | |
c++/modules: fix hash_map issue
Building std.compat.cc was crashing for me because we would first get a
pointer into imported_temploid_friends, then insert a new entry, causing the
hash_map to expand, and then dereference the pointer into the former
location of the hash table. Fixed by dereferencing the pointer before
inserting rather than after.
gcc/cp/ChangeLog:
* module.cc (transfer_defining_module): Dereference
pointer into hash_map before possible insertion.
Diffstat (limited to 'libjava/classpath/gnu/java/beans/decoder/ArrayHandler.java')
0 files changed, 0 insertions, 0 deletions
