------- Comment #6 from pcarlini at suse dot de 2006-10-18 11:37 ------- A straightforward approach to the problem uses the unsigned type associated with _Distance (via __gnu_cxx::__add_unsigned) to avoid the risk of overflows in __adjust_heap completely. I'm currently looking into the cleanest way to follow this route...
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21172