Description of problem: A valid c++ program like this segfaults: #include <algorithm> int main() { double mm[] = {2, 2, 3, 2}; size_t ms = sizeof(mm) / sizeof(double); std::nth_element(mm, mm+1, mm+ms); } because nth_element is broken The bug has been reported and fixed upstream http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800 Version-Release number of selected component (if applicable): gcc-c++-4.8.2-1.fc20.x86_64
This problem seems fixed in gcc-4.8.2-7.fc20.x86_64