[GHC] #3960: ghc panic when attempting to compile DPH code

GHC cvs-ghc at haskell.org
Sun Feb 13 14:21:36 CET 2011


#3960: ghc panic when attempting to compile DPH code
--------------------------------------+-------------------------------------
    Reporter:  jwlato                 |        Owner:  rl                
        Type:  bug                    |       Status:  new               
    Priority:  low                    |    Milestone:  7.0.2             
   Component:  Data Parallel Haskell  |      Version:  6.12.1            
    Keywords:  panic, DPH             |     Testcase:                    
   Blockedby:                         |   Difficulty:                    
          Os:  MacOS X                |     Blocking:                    
Architecture:  x86                    |      Failure:  Compile-time crash
--------------------------------------+-------------------------------------

Comment(by rl):

 This happens because we don't support tuples with arity of more than 5 at
 the moment. At some point, `tmpfn` is uncurried by the vectoriser and then
 we panic because the tuple is too large. The vectoriser has code for
 mapping tuples that are too large to smaller nested tuples but obviously,
 this isn't happening in this case.

 We also should to bump the maximum supported arity (but that requires
 corresponding changes to vector).

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



More information about the Glasgow-haskell-bugs mailing list