[Haskell-cafe] GHC 7.4.1 hangs and memory usage shoots ups to 100% when compiling with -O2

magesh b magesh85 at gmail.com
Sun Nov 25 16:26:41 CET 2012

I'm facing this problem only when I compiled the code using -O2 Flag.
I tried the following,
* Compiled with -O1 Flag (7.4.1), It compiled fine
* Compiled with ghc-7.0.4 with -O2, it's getting compiled successfully but
with the Warning,
    Function `$wa{v s27vx} [lid]'
      has one call pattern, but the limit is ...

[Module that is getting stuck is using heavy quasiquotation]

OS: Ubuntu 12.04 [x86_64]
GHC: 7.4.1

Is this a bug?
Anything else should I need to try?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121125/2ba7d6a3/attachment.htm>

More information about the Haskell-Cafe mailing list