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

25 Nov
2012
25 Nov
'12
10:26 a.m.
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, SpecConstr Function `$wa{v s27vx} [lid]' has one call pattern, but the limit is ... [Module that is getting stuck is using heavy quasiquotation] Env: OS: Ubuntu 12.04 [x86_64] GHC: 7.4.1 Is this a bug? Anything else should I need to try?
4559
Age (days ago)
4559
Last active (days ago)
0 comments
1 participants
participants (1)
-
magesh b