GHC | 8 Aug 2012 09:27
Favicon

#7126: Unexpected loop

#7126: Unexpected loop
-----------------------------------------+----------------------------------
 Reporter:  boris                        |          Owner:                   
     Type:  bug                          |         Status:  new              
 Priority:  normal                       |      Component:  Compiler         
  Version:  7.4.1                        |       Keywords:  class, hang, loop
       Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple 
  Failure:  Incorrect result at runtime  |       Testcase:                   
Blockedby:                               |       Blocking:                   
  Related:                               |  
-----------------------------------------+----------------------------------
 The attached program executes as expected if compiled with GHC 7.0.3, but
 crashes with <<loop>> for GHC 7.4.1. When the code was more polymorphic
 (before simplifying the case), it just hanged. I suspect that the loop is
 related to the class dictionaries creation/passing.

 Expected:
 {{{
 "1"
 "1"
 }}}

 Actual:
 {{{
 "1"
 bug: <<loop>>
 }}}

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7126>
(Continue reading)

GHC | 8 Aug 2012 11:32
Favicon

Re: #7126: Unexpected loop

#7126: Unexpected loop
------------------------------------------+---------------------------------
  Reporter:  boris                        |          Owner:                   
      Type:  bug                          |         Status:  closed           
  Priority:  normal                       |      Milestone:  7.6.1            
 Component:  Compiler                     |        Version:  7.4.1            
Resolution:  fixed                        |       Keywords:  class, hang, loop
        Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple 
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown          
  Testcase:                               |      Blockedby:                   
  Blocking:                               |        Related:                   
------------------------------------------+---------------------------------
Changes (by pcapriotti):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => fixed
  * milestone:  => 7.6.1

Comment:

 Thanks for the report. This looks fixed in HEAD.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7126#comment:1>
GHC | 8 Aug 2012 11:40
Favicon

Re: #7126: Unexpected loop

#7126: Unexpected loop
------------------------------------------+---------------------------------
  Reporter:  boris                        |          Owner:                   
      Type:  bug                          |         Status:  closed           
  Priority:  normal                       |      Milestone:  7.6.1            
 Component:  Compiler                     |        Version:  7.4.1            
Resolution:  fixed                        |       Keywords:  class, hang, loop
        Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple 
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown          
  Testcase:  T7126                        |      Blockedby:                   
  Blocking:                               |        Related:                   
------------------------------------------+---------------------------------
Changes (by pcapriotti):

  * testcase:  => T7126

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7126#comment:2>

Gmane