#7110: Stack overflow when compiling with optimizations
------------------------------+---------------------------------------------
 Reporter:  EyalLotem         |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Compiler        
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  Runtime crash     |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------

Comment(by EyalLotem):

 Note that "smap" is not the culprit (it has the same result when reading
 smap from a file via readFile).

 stringReader is the culprit.

 If the argument order to stringReader is flipped, the stack overflow goes
 away.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to