------- Comment #4 from pcarlini at suse dot de  2006-09-20 10:09 -------
(In reply to comment #3)
> Actually, I think deque could do with a better max_size.

It's not at all clear to me what we can possibly do in the general case of
discontiguous containers. Certainly, we don't want Segmentation faults or bus
errors, but that is a largely unrelated issue (I suggest filing a separate PR),
which, I bet, in general has to do mostly with proper arithmetic in each
individual container. As a matter of fact, the problem with deque is an
arithmetic overflow in _M_new_elements_at_front.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29134

Reply via email to