<div dir="ltr"><div><div>Hi John,<br><br></div>Yes, original code seems to be pretty large. It fails to compile before code generation. I will try tonight to get the minimal example of the case.<br>If I am not mistaken 'global-optimize' does not play nicely with monad transformers.<br>

<br></div>Thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 21, 2014 at 1:17 PM, John Meacham <span dir="ltr"><<a href="mailto:john@repetae.net" target="_blank">john@repetae.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, Jul 21, 2014 at 12:30 AM, Dmitry Kulagin<br>
<<a href="mailto:dmitry.kulagin@gmail.com">dmitry.kulagin@gmail.com</a>> wrote:<br>
><br>
> PS.: This code _does_ compile if I don't use -f no-global-optimize. However,<br>
> I experiment with larger code, which is only compiled if I turn this<br>
> optimization off. That is why I try to stick with this option.<br>
<br>
<br>
</div>Hi, Interesting. I have not tested with no-global-optimize in a while,<br>
it is possible there is an optimization I accidentally depended on<br>
happening in the GRIN backend that is disabled by it.<br>
<br>
Is the main reason you are doing it is for code size? I should<br>
investigate why the code blows up for that case too.<br>
<span class="HOEnZb"><font color="#888888"><br>
    John<br>
<br>
--<br>
John Meacham - <a href="http://notanumber.net/" target="_blank">http://notanumber.net/</a><br>
</font></span></blockquote></div><br></div>