[Bug libstdc++/28844] hashtable.h initialize reserves a lot of memory, defer until needed

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Aug 25 11:04:00 GMT 2006



------- Comment #8 from pcarlini at suse dot de  2006-08-25 11:04 -------
The minimal fix is not correct: the implementation of find assumes a number of
buckets > 0, try:

  hash_set<int> hs(0);
  hs.find(1);

it leads to a float exception. Sorry, we are not going to do anything for this
issue.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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



More information about the Gcc-bugs mailing list