[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org ---
Author: redi
Date: Mon Jun 22 15:53:14 2015
New Revision: 224740

URL: https://gcc.gnu.org/viewcvs?rev=224740root=gccview=rev
Log:
Backport from mainline
2015-05-14  Nathan Myers  n...@cantrip.org
Jonathan Wakely  jwak...@redhat.com

PR libstdc++/66055
* include/std/unordered_map (unordered_map, unordered_multimap): Add
missing constructors.
* include/std/unordered_set (unordered_set, unordered_multiset):
Likewise.
* testsuite/23_containers/unordered_map/cons/66055.cc: New.
* testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
* testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
* testsuite/23_containers/unordered_set/cons/66055.cc: New.

Added:
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc
   
branches/gcc-5-branch/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/unordered_map.h
branches/gcc-5-branch/libstdc++-v3/include/bits/unordered_set.h


[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-06-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.2

--- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org ---
Fixed for 5.2


[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
Author: redi
Date: Thu May 14 13:47:19 2015
New Revision: 223198

URL: https://gcc.gnu.org/viewcvs?rev=223198root=gccview=rev
Log:
2015-05-14  Nathan Myers  n...@cantrip.org
Jonathan Wakely  jwak...@redhat.com

PR libstdc++/66055
* include/std/unordered_map (unordered_map, unordered_multimap): Add
missing constructors.
* include/std/unordered_set (unordered_set, unordered_multiset):
Likewise.
* testsuite/23_containers/unordered_map/cons/66055.cc: New.
* testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
* testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
* testsuite/23_containers/unordered_set/cons/66055.cc: New.

Added:
trunk/libstdc++-v3/testsuite/23_containers/unordered_map/cons/66055.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/66055.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/66055.cc
trunk/libstdc++-v3/testsuite/23_containers/unordered_set/cons/66055.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/unordered_map.h
trunk/libstdc++-v3/include/bits/unordered_set.h


[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-05-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org

--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org ---
Fixed on trunk so far.


[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-05-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-05-07
 Ever confirmed|0   |1


[Bug libstdc++/66055] hash containers missing required reserving constructors

2015-05-07 Thread ncm at cantrip dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66055

ncm at cantrip dot org changed:

   What|Removed |Added

  Attachment #35487|0   |1
is obsolete||

--- Comment #1 from ncm at cantrip dot org ---
Created attachment 35488
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35488action=edit
Better fix

Previous patch was incompletely edited for inclusion.