
#13873: Adding a SPECIALIZE at a callsite in Main.hs is causing a regression -------------------------------------+------------------------------------- Reporter: jberryman | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.2.3 Component: Compiler | Version: 8.2.1-rc2 Resolution: | Keywords: Specialise Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 8.2.2 => 8.2.3 Comment:
If you have conflicting specialisations then the choice about which one applies is left up to the rule selection mechanism which I am not as familiar with.
Unfortunately this pretty much means that the choice comes down to chance (e.g. which rule happens to fire first). Regardless, this won't be fixed for 8.2.2. Bumping to 8.2.3. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13873#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler