[GHC] #12585: GHC duplicates string literals in rodata section and breaks 'Ptr Addr#' equality

GHC ghc-devs at haskell.org
Sat Sep 10 12:23:23 UTC 2016


#12585: GHC duplicates string literals in rodata section and breaks 'Ptr Addr#'
equality
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by slyfox):

 Comment 10 at https://ghc.haskell.org/trac/ghc/ticket/11292#comment:10
 suggests to disambiguate
 '''Addr#''' and '''"literals"#''' with different types.

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


More information about the ghc-tickets mailing list