
#11312: GHC inlining primitive string literals can affect program output -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: #11292 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): And #12757 shows that having literal strings be of type `Addr#` can lead to seg-faults. Yikes. We really should fix this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11312#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler