[GHC] #14282: tagToEnum# . dataToTag# not optimized away
GHC
ghc-devs at haskell.org
Mon Oct 2 15:05:51 UTC 2017
#14282: tagToEnum# . dataToTag# not optimized away
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: dfeuer
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: datacon-tags
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by dfeuer):
Yes, I think you're likely right about `CONLIKE` things, unless the
inliner will end up actually inlining the applications and lead to some
absurdity like `case dataToTag# x of DEFAULT -> case dataToTag# x of
DEFAULT -> ....`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14282#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list