[GHC] #10375: arm: ghci hits an illegal instruction

GHC ghc-devs at haskell.org
Mon May 25 05:24:56 UTC 2015


#10375: arm: ghci hits an illegal instruction
-------------------------------------+---------------------------------
        Reporter:  erikd             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  GHCi crash        |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+---------------------------------

Comment (by erikd):

 This does not need `deriving Eq`. The following in `.ghci` is enough to
 trigger it:

 {{{
 data X = Y
 let eqX = \ a b -> case a of { Y -> case b of { Y -> True }}
 eqX Y Y
 }}}

 but none of the other obvious nullary contructors like:

 {{{
 True == True
 Nothing == Nothing
 }}}

 trigger it.

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


More information about the ghc-tickets mailing list