[GHC] #13170: Core Lint error on git HEAD

GHC ghc-devs at haskell.org
Mon Jan 23 22:25:54 UTC 2017


#13170: Core Lint error on git HEAD
-------------------------------------+-------------------------------------
        Reporter:  dobenour          |                Owner:  rwbarton
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
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 rwbarton):

 For the record, the core lint failure looks like
 {{{
 *** Core Lint errors : in result of Simplifier ***
 <no location info>: warning:
     In a case alternative: (I# x_a1Nt :: Int#)
     Case expression with badly-ordered alternatives
         case x_a1Nt of wild_Xq {
           __DEFAULT ->
             let {
               wild_Xq :: Int#
               [LclId, Unf=OtherCon []]
               wild_Xq = negateInt# x_a1Nt } in
             False;
           -2# ->
             let {
               wild_Xq :: Int#
               [LclId, Unf=OtherCon []]
               wild_Xq = 2# } in
             True;
           -3# ->
             let {
               wild_Xq :: Int#
               [LclId, Unf=OtherCon []]
               wild_Xq = 3# } in
             True
         }
 }}}

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


More information about the ghc-tickets mailing list