# HG changeset patch # User John W. Eaton # Date 1383928964 18000 # Node ID 326963e479846443b287a2898e8560e52679b1d5 # Parent 1d109119ac71fe075db46901ea490d9ccb95b6a6 use stl_algo.h-fixed for GCC 4.8.0 and 4.8.1 if nth_element bug is detected * acinclude.m4 (OCTAVE_CHECK_BROKEN_STL_ALGO_H): If nth_element test fails and we are using GCC 4.8.0 or 4.8.1, then don't reset octave_cv_broken_stl_algo_h. Someone may have patched their 4.8.0 or 4.8.1 GCC with the buggy performance patch for 4.8.2. Ubuntu, I'm looking at you. diff -r 1d109119ac71 -r 326963e47984 m4/acinclude.m4 --- a/m4/acinclude.m4 Fri Nov 08 08:31:09 2013 -0800 +++ b/m4/acinclude.m4 Fri Nov 08 11:42:44 2013 -0500 @@ -2115,7 +2115,7 @@ if test "$GXX" = yes; then if test $octave_cv_broken_stl_algo_h = yes; then case "$GXX_VERSION" in - 4.8.2) + 4.8.[012]) ;; *) octave_cv_broken_stl_algo_h=no