[GHC] #12523: Constructor info tables generated by GHCi don't return tagged pointers

GHC ghc-devs at haskell.org
Tue Aug 23 09:28:49 UTC 2016


#12523: Constructor info tables generated by GHCi don't return tagged pointers
-------------------------------------+-------------------------------------
        Reporter:  mniip             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHCi crash        |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Good catch.

 Simon, I think the answer to your question is that you can't construct
 that example, because compiled code cannot depend on interpreted code.

 Still, we should really respect the pointer tagging invariants both in
 compiled and interpreted code, so I agree this is a bug.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12523#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list