[GHC] #7680: -prof build: trying to 'show' a 'Double' leads to 'Char.intToDigit: not a digit' crash

GHC cvs-ghc at haskell.org
Sun Feb 24 23:10:38 CET 2013


#7680: -prof build: trying to 'show' a 'Double' leads to 'Char.intToDigit: not a
digit' crash
-------------------------------+--------------------------------------------
    Reporter:  slyfox          |       Owner:                  
        Type:  bug             |      Status:  new             
    Priority:  normal          |   Milestone:                  
   Component:  Compiler        |     Version:  7.6.2           
    Keywords:                  |          Os:  Unknown/Multiple
Architecture:  x86_64 (amd64)  |     Failure:  None/Unknown    
  Difficulty:  Unknown         |    Testcase:                  
   Blockedby:                  |    Blocking:                  
     Related:                  |  
-------------------------------+--------------------------------------------

Comment(by wwiser):

 Seems to work fine in HEAD:


 {{{
  ./ghc-stage2 --make Main.hs -prof -fforce-recomp -o Main.buggy &&
 ./Main.buggy
 [1 of 1] Compiling Main             ( Main.hs, Main.o )
 Linking Main.buggy ...
 1.0
 }}}

 Ubuntu 12.10 64-bit, i7, gcc 4.7.2

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7680#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list