[Bug libstdc++/61143] [4.9/4.10 Regression] Arithmetic exception on emplacing into unordered_map moved out

fdumont at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 23 19:35:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61143

--- Comment #13 from François Dumont <fdumont at gcc dot gnu.org> ---
Author: fdumont
Date: Fri May 23 19:35:12 2014
New Revision: 210876

URL: http://gcc.gnu.org/viewcvs?rev=210876&root=gcc&view=rev
Log:
2014-05-23  François Dumont  <fdumont@gcc.gnu.org>

    PR libstdc++/61143
    * include/bits/hashtable.h: Fix move semantic to leave hashtable in a
    usable state.
    * testsuite/23_containers/unordered_set/61143.cc: New.
    * testsuite/23_containers/unordered_set/modifiers/swap.cc: New.

Added:
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/23_containers/unordered_set/61143.cc
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc
Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/hashtable.h


More information about the Gcc-bugs mailing list