This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 13:16:00 -0000
- Subject: [Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map
- References: <20050823115827.23528.mattias.ellert@tsl.uu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-08-23 13:15 -------
I agree that something much more subtle is going on, maybe even a C++ front-end
bug in 3_4-branch. Notice that hash_map<>::allocator_type is typedef-ed as
_Ht::allocator_type, which, in turn (see the hashtable class in hashtable.h) is,
correctly, an allocator of pair<const _Key, _Tp>. Likewise for
hash_map<>::value_type. More analysis is required...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23528