Unexpected failure to inline, even with pragma

Joachim Breitner mail at joachim-breitner.de
Thu May 1 14:14:12 UTC 2014


Hi,

Am Donnerstag, den 01.05.2014, 12:59 +0000 schrieb
p.k.f.holzenspies at utwente.nl:
> $ ghc -ddump-inlinings -fforce-recomp Main.hs

You need to pass "-O" to ghc.

(I didn’t check if that fixes it, but without it the optimizer does very
very little.)

Greetings,
Joachim

-- 
Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140501/ca9d9972/attachment.sig>


More information about the ghc-devs mailing list