public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/26424]  New: tr1/unordered vs 64-bit machines
@ 2006-02-22 16:56 pcarlini at suse dot de
  2006-02-22 17:12 ` [Bug libstdc++/26424] " falk at debian dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pcarlini at suse dot de @ 2006-02-22 16:56 UTC (permalink / raw)
  To: gcc-bugs

The number of buckets is currently limited to ~2^32 (see X<>::primes). This is
a serious issue: for correctness, rehash(n) for n > 2^32 should throw and do
nothing, in order not to violate the post-conditions in Table 21.

We have various options: as suggested by Howard off-line, we could well compute
at run-time prime-numbers. Otherwise, mid-term, if we cannot extend the maximum
number of bucket we have to add throws to the rehashing functions.


-- 
           Summary: tr1/unordered vs 64-bit machines
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pcarlini at suse dot de


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-04-21 17:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-22 16:56 [Bug libstdc++/26424] New: tr1/unordered vs 64-bit machines pcarlini at suse dot de
2006-02-22 17:12 ` [Bug libstdc++/26424] " falk at debian dot org
2006-02-22 17:23 ` pcarlini at suse dot de
2006-02-22 18:01 ` pcarlini at suse dot de
2006-04-19 10:49 ` pcarlini at suse dot de
2006-04-19 22:58 ` paolo at gcc dot gnu dot org
2006-04-19 23:06 ` pcarlini at suse dot de
2006-04-21 17:50 ` paolo at gcc dot gnu dot org
2006-04-21 17:52 ` pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).