This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used
- From: "fdumont at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 May 2012 19:21:38 +0000
- Subject: [Bug libstdc++/53263] priority_queue is very slow if -D_GLIBCXX_DEBUG is used
- Auto-submitted: auto-generated
- References: <bug-53263-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263
--- Comment #11 from FranÃois Dumont <fdumont at gcc dot gnu.org> 2012-05-11 19:21:38 UTC ---
Author: fdumont
Date: Fri May 11 19:21:31 2012
New Revision: 187414
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187414
Log:
2012-05-11 FranÃois Dumont <fdumont@gcc.gnu.org>
PR libstdc++/53263
* include/debug/safe_iterator.h (__gnu_debug::__base): Move...
* include/debug/functions.h: ... Here. Add debug function
overloads to perform checks on normal iterators when possible.
* include/debug/macros.h (__glibcxx_check_heap)
(__glibcxx_check_heap_pred): Use __gnu_debug::__base on iterator range.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/debug/functions.h
trunk/libstdc++-v3/include/debug/macros.h
trunk/libstdc++-v3/include/debug/safe_iterator.h