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 >

RE: Profiling with -O2

2001-08-15 Thread Saswat Anand
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 buggy :: St

RE: Profiling with -O2

2001-08-14 Thread Simon Marlow
> 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? Hi there, Could you provi

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 __