
#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):
One thing that I've noticed while looking at the Core here I noticed what
I believe is a slight performance papercut in our Core: In the Core we
essentially have this:
{{{#!hs
data IdxOfsLen = IdxOfsLen !Int !Int !Int
}}}
Inside of `lookupIndexNear` we end up with a join point:
{{{#!hs
$j_sjcd [Dmd=