[PATCH] Fix _Hashtable::erase(iterator, iterator) (PR libstdc++/51845)

Paolo Carlini paolo.carlini@oracle.com
Thu Jan 19 10:35:00 GMT 2012


On 01/19/2012 12:16 AM, Jakub Jelinek wrote:
> Fixed thusly, if __is_bucket_begin is true, then we know __n is the first
> item in its bucket and thus __prev_n should be in the _M_buckets array.
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
Ok, the testcase too of course.

Thanks for taking care of this, Jakub.

Paolo.



More information about the Libstdc++ mailing list