
#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): Fair enough, but there are then three separate matters here 1. Top-level unboxed string literals: #8472 2. Disentangling `Addr#` and `String#` along the lines of comment:3 (this ticket) 3. Some kind of support for `ByteArray#` literals, as you ask. Perhaps (2) and (3) are related, beause perhaps a `String#` can ''be'' a static `ByteArray#`? Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11312#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler