[GHC] #7898: SpecConstr explodes when compiling module BSP of frag-1.1.2

GHC cvs-ghc at haskell.org
Fri May 17 02:57:49 CEST 2013


#7898: SpecConstr explodes when compiling module BSP of frag-1.1.2
-------------------------------+--------------------------------------------
Reporter:  tinctorius          |          Owner:                  
    Type:  bug                 |         Status:  new             
Priority:  normal              |      Component:  Compiler        
 Version:  7.6.3               |       Keywords:                  
      Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
 Failure:  Compile-time crash  |      Blockedby:                  
Blocking:                      |        Related:                  
-------------------------------+--------------------------------------------

Comment(by amosrobinson):

 This is strange.
 I managed to get OpenGL to install on head (had to comment out the
 Typeable instances). Head still has the same blowup problem.

 Then I split BSP into two modules: reading and rendering. Then, bizarrely,
 neither of those modules blew up. I don't understand how splitting it into
 two modules could stop specialisation from happening, but it seems to.
 Same behaviour on head & 7.4.2.

 I'm going to try selectively removing/undefining parts of the original BSP
 until I get something small enough that still blows up but the core is
 readable.

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



More information about the ghc-tickets mailing list