#4345: Compiler crash building regex-posix version 0.94.1 using ghc 7.0.1-rc1
---------------------------------------------+------------------------------
  Reporter:  dsf                             |          Owner:  simonpj
      Type:  bug                             |         Status:  closed 
  Priority:  highest                         |      Milestone:  7.0.1  
 Component:  Compiler                        |        Version:  7.1    
Resolution:  fixed                           |       Keywords:         
  Testcase:  simplCore/should_compile/T4345  |      Blockedby:         
Difficulty:                                  |             Os:  Linux  
  Blocking:                                  |   Architecture:  x86    
   Failure:  Compile-time crash              |  
---------------------------------------------+------------------------------
Changes (by simonpj):

  * status:  new => closed
  * testcase:  => simplCore/should_compile/T4345
  * resolution:  => fixed


Comment:

 Done.  Fixed by
 {{{
 Thu Oct  7 03:27:20 PDT 2010  [email protected]
   * Fix Trac #4345: simplifier bug

   This is another long-standing bug, in which there was a possibility
   that a loop-breaker could lose its loop-breaker-hood OccInfo,
   and then the simplifer re-simplified the expression. Result, either
   non-termination or, in the case of #4345, an unbound identifier.

   The fix is very simple, in Id.transferPolyIdInfo.
   See Note [transferPolyIdInfo].

     M ./compiler/basicTypes/Id.lhs -8 +25
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4345#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to