Patch committed: Fix erasing with reference in old hashtable code

Paolo Carlini paolo.carlini@oracle.com
Wed May 25 23:47:00 GMT 2011


On 05/26/2011 01:09 AM, Ian Lance Taylor wrote:
> This patch fixes a problem with the old hashtable::erase code when the
> caller passes a reference to an element in the table, the element is not
> the first in the bucket, but it is equal to the first in the bucket.
> This is PR 49060, and the patch and test case are from that PR with
> minor tweaks.  Bootstrapped and ran libstdc++ testsuite on
> x86_64-unknown-linux-gnu.  Committed to mainline.
Thanks Ian.

Paolo.



More information about the Libstdc++ mailing list