
#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.0.1 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 slyfox): GHC-8.0.1 works as expected: {{{ $ ghc-8.0.1 -fforce-recomp -O1 --make a.hs && ./a [1 of 1] Compiling Main ( a.hs, a.o ) Linking a ... ("cmp:",True) ("delta:",0) ("values:",0x00000000004a7888,0x00000000004a7888) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12585#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler