https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103449
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Martin Liška from comment #3) > What likely happens is that 'tree *d' is a pointer to the hash_map. Then you > want to put another item in the same hash_map (m_dead_ssa_debug_equiv.put), > it's resized and then the dereference of d happens and it's the invalid read > as it points to the map before it was grown (reallocated). Stupid me, you are of course correct.