This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24064] tr1::unordered_map seems to seg-fault when caching hash values
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Sep 2005 13:42:04 -0000
- Subject: [Bug libstdc++/24064] tr1::unordered_map seems to seg-fault when caching hash values
- References: <20050926095414.24064.atavory@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From chris at bubblescope dot net 2005-09-26 13:42 -------
I'm not convinced that this is valid code.. unless I'm missing something, you are altering values inside the
hash table, which isn't allowed unless you change the values in such a way that their hashed value stays
the same. This is similar to the situation with (multi)map/(multi)set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24064