[Bug libstdc++/36338] heap_sort effectively hangs with -D_GLIBCXX_DEBUG

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue May 27 09:11:00 GMT 2008



------- Comment #1 from paolo dot carlini at oracle dot com  2008-05-27 09:10 -------
(In reply to comment #0)

> Looking at pop_heap, it is just a thin wrapper over __pop_heap, along with this
> check. Therefore I believe the easiest fix will be to make sort_heap call
> __pop_heap directly, which avoids the check.

Indeed, makes sense. Will do, thanks for the suggestion.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
                   |dot org                     |dot com
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-27 09:10:18
               date|                            |


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



More information about the Gcc-bugs mailing list