#7446: GHC -O0 goes into a loop
Reporter:  EyalLotem     |          Owner:          
    Type:  bug           |         Status:  new     
Priority:  normal        |      Component:  Compiler
 Version:  7.6.1         |       Keywords:          
      Os:  Linux         |   Architecture:  x86     
 Failure:  None/Unknown  |      Blockedby:          
Blocking:                |        Related:          

Comment(by EyalLotem):

 This also sends ghc7.6.1 -O0 into a loop:

     data V = V {-# UNPACK #-} !V

 But is of course illegal. The attached example:

     data V = V {-# UNPACK #-} !L
     data L = L V

 should be legal and also sends ghc into a loop.

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

Glasgow-haskell-bugs mailing list

Reply via email to