This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] fix libstdc++/52476
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: Paolo Carlini <pcarlini at gmail dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 02 Apr 2012 00:12:22 +0200
- Subject: Re: [v3] fix libstdc++/52476
- References: <4F5FBDE6.4010407@gmail.com> <4F609EB0.9060502@oracle.com> <4F6253E2.30001@gmail.com> <901A302D-938A-4CBF-9050-CB1AE52F0B44@oracle.com> <4F63ABEF.3000807@gmail.com>
Hi,
Attached patch applied.
2012-03-16 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/52476
* include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
(_Hashtable<>::_M_rehash): Use the latter.
* testsuite/23_containers/unordered_multimap/insert/52476.cc:
New.
* testsuite/23_containers/unordered_multiset/insert/52476.cc:
New.
Francois, at your ease, I think it's time to apply the fix to 4_7-branch
too and resolve the PR. By the way, Daniel confirmed in private email
that mainline works just fine now.
Thanks,
Paolo.