-O2

2002-04-15 Thread Saswat Anand
Hi, In my program I observe that, with -O2 flag turned on, Program 1 behaves like Program 2. And without O2, their outputs are different. Is it the desirable behaviour? For my program, I did not expect the optimizer to do this transformation. Thanks, Saswat Program 1: eval = \..-

New Patches Binary for MacOS X

2002-04-15 Thread Wolfgang Thaller
Here are some new patches for GHC for MacOS X. The patches are relative to the CVS HEAD from 9th of April. I also have prepared a binary snapshot [a double-clickable installer package this time], but as last time, I don't have the webspace to upload it myself - I'd be happy to FTP it wherever

ghc-pkg (5.03.20020204) problems

2002-04-15 Thread George Russell
Can you stop ghc-pkg complaining when it can't find the library for a package, and insert the package into its configuration file? Some of my scripts rely on being able to build the package.conf file ahead of time. What with this, and because ghc-pkg doesn't seem able to cope with private

ghc5.03 .hi and .hi-boot files don't you just love those incompatible changes?

2002-04-15 Thread George Russell
Formerly .hi and .hi-boot files had the same format; however ghc5.03 has a binary format for .hi files and a textual one for .hi-boot files. This is a nuisance for me, because I have an ingenious scheme by which .hi-boot files are themselves from Haskell files by ghc, which thinks it is

max heap exhausted

2002-04-15 Thread Hal Daume III
What does it mean when my program tells me: fatal error: RTS exhausted max heap size (268435456 bytes) ? My initial understanding was the GHC allocated (perhaps dynamically) a heap of unlimited size (at least so says +RTS -help) and when I run my (long memory grabbing) program without any

Re: max heap exhausted

2002-04-15 Thread Sigbjorn Finne
Have a look the the -M RTS option (default is 256M on Win32, not unlimited.) --sigbjorn - Original Message - From: Hal Daume III [EMAIL PROTECTED] To: GHC Users Mailing List [EMAIL PROTECTED] Sent: Monday, April 15, 2002 08:04 Subject: max heap exhausted What does it mean when my