This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/42381] New: deque shouldn't reserve that much memory
- From: "kraemer at informatik dot uni-kl dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Dec 2009 17:22:40 -0000
- Subject: [Bug libstdc++/42381] New: deque shouldn't reserve that much memory
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In bits/stl_deque.h, line 80ff the minimal allocated size is set fixed to 512.
This should be configurable, at least via a macro.
In case of small memory systems (embedded devices) resveration of this amount
of memory is much too high.
--
Summary: deque shouldn't reserve that much memory
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kraemer at informatik dot uni-kl dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42381