[GHC] #13014: Seemingly unnecessary marking of a SpecConstr specialization as a loopbreaker
GHC
ghc-devs at haskell.org
Tue Dec 20 21:56:56 UTC 2016
#13014: Seemingly unnecessary marking of a SpecConstr specialization as a
loopbreaker
-------------------------------------+-------------------------------------
Reporter: nfrisby | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: SpecConstr
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: |
-------------------------------------+-------------------------------------
Comment (by nfrisby):
I've attached three `hs` files as `T13014.tar.gz`. They demonstrate the
issue when they're all compiled with `-O`. (The second module specifies
`OPTIONS_GHC -fspec-constr`.)
The characteristic of this ticket is that the `-ddump-simpl` for the
`GADTSpecConstr3.hs` module does not define `test` as simply `3`.
Embarassingly and frustratingly, I've lost the `VLZ` rule with my interim
edits and I can't get it back. Thankfully, it's not actually necessary for
this ticket.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13014#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list