[GHC] #16294: Code generation corrupts writes to Addr#

GHC ghc-devs at haskell.org
Wed Feb 6 16:01:25 UTC 2019


#16294: Code generation corrupts writes to Addr#
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 The good news is that it seems to me that it's only because `showHex`
 prints a single digit when you expect two. Can you try replacing it with
 `printf "%.2x"`?

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


More information about the ghc-tickets mailing list