[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34210] profile.m test abort
From: |
marco atzeri |
Subject: |
[Octave-bug-tracker] [bug #34210] profile.m test abort |
Date: |
Mon, 26 Sep 2011 10:29:07 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 |
Follow-up Comment #6, bug #34210 (project octave):
It seems an optimization bug around the output value of
now.double_value.
The other crazy thing is that under gdb stepping,
the failure doesn't happen.
With the attached path, "test profile.m"
passes all the test.
Idea for an operation less intrusive than fprintf ?
--- profiler.cc_orig 2011-09-26 10:25:58.937500000 +0200
+++ profiler.cc 2011-09-26 11:49:03.921875000 +0200
@@ -385,7 +385,10 @@
profile_data_accumulator::query_time (void) const
{
octave_time now;
- return now.double_value ();
+ double ora;
+ ora = now.double_value ();
+ fprintf(stderr,"Ora %e n", ora );
+ return ora ;
}
void
-----------------------------------
$ g++ --version
g++ (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(file #24024)
_______________________________________________________
Additional Item Attachment:
File name: profiler.cc.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34210>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34210] profile.m test abort, marco atzeri, 2011/09/05
- [Octave-bug-tracker] [bug #34210] profile.m test abort, marco atzeri, 2011/09/05
- [Octave-bug-tracker] [bug #34210] profile.m test abort, Tatsuro MATSUOKA, 2011/09/06
- [Octave-bug-tracker] [bug #34210] profile.m test abort, Tatsuro MATSUOKA, 2011/09/06
- [Octave-bug-tracker] [bug #34210] profile.m test abort, John W. Eaton, 2011/09/06
- [Octave-bug-tracker] [bug #34210] profile.m test abort, marco atzeri, 2011/09/06
- [Octave-bug-tracker] [bug #34210] profile.m test abort,
marco atzeri <=
- [Octave-bug-tracker] [bug #34210] profile.m test abort, Tatsuro MATSUOKA, 2011/09/27
- [Octave-bug-tracker] [bug #34210] profile.m test abort, marco atzeri, 2011/09/27
- [Octave-bug-tracker] [bug #34210] profile.m test abort, Tatsuro MATSUOKA, 2011/09/27
- [Octave-bug-tracker] [bug #34210] profile.m test abort, marco atzeri, 2011/09/30
- [Octave-bug-tracker] [bug #34210] profile.m test abort, John W. Eaton, 2011/09/30