public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/36333]  New: stable_sort calling merge; problems when _GLIBCXX_DEBUG is switched on
@ 2008-05-26 12:57 dominik dot strasser at onespin-solutions dot com
  2008-05-26 12:58 ` [Bug libstdc++/36333] " dominik dot strasser at onespin-solutions dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dominik dot strasser at onespin-solutions dot com @ 2008-05-26 12:57 UTC (permalink / raw)
  To: gcc-bugs

I have an application calling stable_sort with a comparison operator.

stable_sort internally calls
__stable_sort_adaptive
__merge_sort_with_buffer
__merge_sort_loop
_GLIBCXX_STD_P::merge
The last function (if called directly) requires the parameters to be sorted.
It seems to me that this is not necessarily the case here.


-- 
           Summary: stable_sort calling merge; problems when _GLIBCXX_DEBUG
                    is switched on
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominik dot strasser at onespin-solutions dot com


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-05-20 14:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-26 12:57 [Bug libstdc++/36333] New: stable_sort calling merge; problems when _GLIBCXX_DEBUG is switched on dominik dot strasser at onespin-solutions dot com
2008-05-26 12:58 ` [Bug libstdc++/36333] " dominik dot strasser at onespin-solutions dot com
2008-05-26 15:10 ` paolo dot carlini at oracle dot com
2008-05-26 15:51 ` chris at bubblescope dot net
2008-05-26 20:42 ` paolo dot carlini at oracle dot com
2008-06-06  7:08 ` dominik dot strasser at onespin-solutions dot com
2009-05-20 14:59 ` dominik dot strasser at onespin-solutions dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).