RE: Profiling with -O2

2001-08-16 Thread Simon Marlow
Hi, After stripping down my code, I found the following fragments that reproduce the error. The code makes no sense though. Thanks, Saswat --Main.hs module Main(main) where import Bug main = buggy strange --Bug.hs module Bug(buggy) where

Profiling with -O2

2001-08-14 Thread Saswat Anand
Hi, When I am trying to compile my prgram with -prof -auto-all -O2, It fails saying: Failed to find interface decl for But it is fine if I compile with either profiling or optimization options alone. Are they not supposed to work together? Thanks, Saswat