Doesn't look right.  I've made a ticket
        http://hackage.haskell.org/trac/ghc/ticket/4283

Simon

| -----Original Message-----
| From: [email protected] [mailto:glasgow-haskell-
| [email protected]] On Behalf Of Mitar
| Sent: 02 September 2010 01:27
| To: glasgow-haskell-users
| Subject: Difference between optimized and non-optimized version
| 
| Hi!
| 
| I am attaching a program which locks (throws an exception <<loop>>) when
| compiled like:
| 
| ghc --make -threaded -main-is Test.main Test.hs -o test
| 
| and doesn't lock when compiled with
| 
| ghc --make -threaded -main-is -O2 Test.main Test.hs -o test
| 
| This should probably not happen.
| 
| I am using 6.12.3 on Linux x86_64.
| 
| Best regards
| 
| 
| Mitar
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to