turn off let floating

Ketil Malde ketil+haskell at ii.uib.no
Tue Apr 20 15:56:36 EDT 2004

Bernard James POPE <bjpop at cs.mu.OZ.AU> writes:

> Note each program was compiled with ghc 6.2 with -O2 on debian linux.
>       main = print $ loop 100000000 0

Isn't this going to be optimized away to a constant with -O2?

If I haven't seen further, it is by standing in the footprints of giants

More information about the Glasgow-haskell-users mailing list