octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40436] median no longer passes make check


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #40436] median no longer passes make check
Date: Wed, 06 Nov 2013 21:02:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8

Follow-up Comment #48, bug #40436 (project octave):

Looking at bits/stl_algo.h, it seems that the affected functions, two
variations of __unguarded_partition_pivot, are ultimately used in both
std::nth_element and std::sort.  We use both in Octave.

Would it be better to replace the bits/stl_algo.h file when building Octave
(can easily be done by putting a modified file in the Octave source tree and
finding it with a -I compiler flag) or should we just provide replacements for
std::sort and std::nth_element?  Or should we just fail to build Octave if
this bug is found and tell people they need to install a version of GCC that
does not have this problem?

I hesitate to install a fix in Octave (either replacing the header file or the
functions) because we'll likely have to carry this baggage around for years to
come.  If we just refuse to build, we'll be pushing people in the direction of
fixing the problem.  And the fix is trivial and doesn't even require
rebuilding the compiler.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40436>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]