[GHC] #9910: ghc's dwarf (-g) output does not like Unicode (Char.intToDigit: not a digit 136)

GHC ghc-devs at haskell.org
Fri Dec 19 23:55:22 UTC 2014


#9910: ghc's dwarf (-g) output does not like Unicode (Char.intToDigit: not a digit
136)
-------------------------------------+-------------------------------------
       Reporter:  slyfox             |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Compiler           |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 Easy to reproduce as:

 {{{
 inplace/bin/ghc-stage2 -w -g -c testsuite/tests/parser/unicode/utf8_024.hs
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.9.20141219 for x86_64-unknown-linux):
         Char.intToDigit: not a digit 136

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}
 {{{
 petermw> Yes, Unicode doesn't work with DWARF yet
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9910>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list