[GHC] #5550: GHC infinite loop when compiling vector

GHC cvs-ghc at haskell.org
Thu Mar 28 05:24:54 CET 2013


#5550: GHC infinite loop when compiling vector
---------------------------------+------------------------------------------
    Reporter:  simonpj           |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  low               |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  7.2.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by amos.robinson@…):

 commit 81d55a9ec28d9d7c8b1492516ebd58c5ff90c0e8
 {{{
 Author: Amos Robinson <amos.robinson at gmail.com>
 Date:   Thu Mar 28 12:37:42 2013 +1100

     Fix non-termination of SpecConstr (see #5550).
     ForceSpecConstr will now only specialise recursive types a finite
 number of times.
     There is a new option -fspec-constr-recursive, with a default value of
 3.

  compiler/main/DynFlags.hs          |    4 ++
  compiler/specialise/SpecConstr.lhs |   64
 ++++++++++++++++++++++++++----------
  2 files changed, 50 insertions(+), 18 deletions(-)
 }}}

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



More information about the ghc-tickets mailing list