RE: Difference between optimized and non-optimized version

2010-09-02 Thread Simon Peyton-Jones
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 <>) when | compiled like: | | ghc --make -threaded -main-is Test.main Test.hs -o test | | and doesn't lock when compiled

Difference between optimized and non-optimized version

2010-09-01 Thread Mitar
Hi! I am attaching a program which locks (throws an exception <>) 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 L