[Bug libstdc++/59116] New: std::nth_element segfaults by invalidating one of the vector elements

2013-11-13 Thread chandraprakashblr at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: chandraprakashblr at gmail dot com std::nth_element segfaults by invalidating one of the vector elements. Note : Replacing nth_element by partial_sort works fine. Trying

[Bug libstdc++/59116] std::nth_element segfaults by invalidating one of the vector elements

2013-11-13 Thread chandraprakashblr at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59116 --- Comment #1 from chandraprakashblr at gmail dot com --- Created attachment 31210 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31210action=edit preprocessed file of sample program