magesh b | 25 Nov 16:26 2012

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

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?
Haskell-Cafe mailing list
Haskell-Cafe <at>