http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58562
--- Comment #3 from Joshua N Pritikin <jpritikin at pobox dot com> --- Created attachment 30925 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30925&action=edit C++ source code to reproduce problem With -D_GLIBCXX_DEBUG, fails with: /usr/include/c++/4.7/bits/stl_heap.h:468:error: elements in iterator range [ __first, __last) do not form a heap.