From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21272 invoked by alias); 27 May 2008 09:11:10 -0000 Received: (qmail 19254 invoked by uid 48); 27 May 2008 09:10:18 -0000 Date: Tue, 27 May 2008 09:11:00 -0000 Message-ID: <20080527091018.19251.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/36338] heap_sort effectively hangs with -D_GLIBCXX_DEBUG In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01966.txt.bz2 ------- 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