
#14361: GHC HEAD miscompiles `text-containers` -------------------------------------+------------------------------------- Reporter: hvr | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.3 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 bgamari): Some facts: * Allocating all `ByteArray#`s as pinned makes no difference. * Marking `TextArray.Unboxed.indexOfsLen'` as `NOINLINE` makes the problem vanish * Removing the `assert`s in `lookupIndexNear` makes no difference -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14361#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler