[GHC] #5818: gcd and fizzled reversed in event SparkCounters
GHC
cvs-ghc at haskell.org
Fri Jan 27 05:53:13 CET 2012
#5818: gcd and fizzled reversed in event SparkCounters
-----------------------------------------+----------------------------------
Reporter: MikolajKonarski | Owner: duncan
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 7.4.1-rc1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
There is a bug in RTS when emitting the spark counters event:
the order of gcd and fizzled is reversed.
The precise line is probably this:
{{{
rts/eventlog/EventLog.c- postWord64(eb,counters.gcd);
}}}
but I think the spark counters type should be changed
to match that of ghc-events
and similary the order in which +RTS -s prints them.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5818>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list