This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/24064] tr1::unordered_map seems to seg-fault when caching hash values


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]