Optimization beyond the Module Border

Ian Lynagh igloo at earth.li
Thu Mar 20 10:17:51 EDT 2008

On Thu, Mar 20, 2008 at 09:47:28AM +0100, Bernd Brassel wrote:
> compiled things with -O2 AND -prof -auto-all no profile would be
> written.

This should work, for the reasons that you give. Did you use options
like +RTS -p when running the program? If so, please give us an example
to reproduce the problem.

> And then, secondly, about the connection of optimization with side
> effects. I had programs behave differently when compiling them all in
> one go or module-wise.

Again, please tell us how to reproduce this.


More information about the Glasgow-haskell-users mailing list