[GHC] #10718: bitmap-0.0.2 SPECIALIZE pragma panic (GHC 7.10.1)

GHC ghc-devs at haskell.org
Fri Jul 31 18:49:23 UTC 2015


#10718: bitmap-0.0.2 SPECIALIZE pragma panic (GHC 7.10.1)
-------------------------------------+-------------------------------------
              Reporter:  NCrashed    |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.1
              Keywords:              |  Operating System:  Linux
          Architecture:  x86_64      |   Type of failure:  GHC doesn't work
  (amd64)                            |  at all
             Test Case:              |        Blocked By:
              Blocking:              |   Related Tickets:
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Building with stack `bitmap-0.0.2`

 {{{
     Configuring bitmap-0.0.2...
     Building bitmap-0.0.2...
     Preprocessing library bitmap-0.0.2...
     [ 1 of 10] Compiling Data.Bitmap.Internal ( Data/Bitmap/Internal.hs,
 .stack-work/dist/x86_64-linux/Cabal-1.22.2.0/build/Data/Bitmap/Internal.o
 )
     [ 2 of 10] Compiling Data.Bitmap.Base ( Data/Bitmap/Base.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.2.0/build/Data/Bitmap/Base.o )
     [ 3 of 10] Compiling Data.Bitmap.IO   ( Data/Bitmap/IO.hs, .stack-
 work/dist/x86_64-linux/Cabal-1.22.2.0/build/Data/Bitmap/IO.o )

     Data/Bitmap/IO.hs:1248:1: Warning:
         SPECIALISE pragma for non-overloaded function ‘myPlusPtr’

     Data/Bitmap/IO.hs:1249:1: Warning:
         SPECIALISE pragma for non-overloaded function ‘myPlusPtr’
     ghc: panic! (the 'impossible' happened)
       (GHC version 7.10.1 for x86_64-unknown-linux):
         Template variable unbound in rewrite rule
       $fPixelComponentFloat3_X2Rc
       [$fPixelComponentFloat3_X2Rc]
       [$fPixelComponentFloat3_X2Rc]
       []
       []

     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

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


More information about the ghc-tickets mailing list