This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r174240 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: ian at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 25 May 2011 23:09:15 -0000
- Subject: r174240 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: ian
Date: Wed May 25 23:09:14 2011
New Revision: 174240
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174240
Log:
PR libstdc++/49060
* include/backward/hashtable.h (hashtable::erase): Don't crash if
erasing first and another element with a reference to the other
element.
* testsuite/backward/hash_set/49060.cc: New.
Added:
trunk/libstdc++-v3/testsuite/backward/hash_set/49060.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/backward/hashtable.h