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: Sun, 03 Nov 2013 17:39:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8

Update of bug #40436 (project octave):

                Severity:              3 - Normal => 5 - Blocker            
                  Status:                 Invalid => In Progress            
             Assigned to:                    None => jwe                    
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #40:

As noted in comment 30, it looks like a bug in std_algo.h in GCC 4.8.2. 
Debian testing has that version now, though my system still has 4.7.3 as the
default compiler version.

In any case, I think we should test for this bug and work around it.

One way to do that would be to replace nth_element with our own, but that
doesn't really fix the bug.  How do we know that the buggy utility function
isn't used somewhere else?

Another way would be to provide a replacement of the buggy utility function. 
But since it is a template, they only way I can see to do that is to replace
the bits/stl_algo.h file with a fixed version.

I modified my copy of stl_algo.h with the fix given here:

http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=203874

and then all the tests pass for median.m.  I'll work on a configure test and
patch.


    _______________________________________________________

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]