changeset 17886:326963e47984

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.
author John W. Eaton <jwe@octave.org>
date Fri, 08 Nov 2013 11:42:44 -0500
parents 1d109119ac71
children 3252b366bb5d
files m4/acinclude.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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