<div dir="ltr"><div>Note that the function pointer is given to the collection, not the function value! IE it is invalid code, which causes the crash.<br></div><div><br></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen <span dir="ltr"><<a href="mailto:jussi.lahtinen@gmail.com" target="_blank">jussi.lahtinen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Excellent work!</div><div>However, I think there are some bugs still to be squished. Here is one. See attached project.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 5, 2018 at 8:20 AM, Benoît Minisini <span dir="ltr"><<a href="mailto:g4mba5@gmail.com" target="_blank">g4mba5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Le 04/07/2018 à 00:04, Jussi Lahtinen a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was in impression that I got unfreed stuff with latest revision, but I was wrong.<br>
I'm still unable to figure out what crashes the JIT in the big project.<br>
<br>
</blockquote>
<br></span>
Hi,<br>
<br>
With commit <a href="https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02024dc52ed941bc567659" rel="noreferrer" target="_blank">https://gitlab.com/gambas/gamb<wbr>as/commit/d3c93a05e4a15f65bc02<wbr>024dc52ed941bc567659</a>, I can run your project without any crash and any error now.<br>
<br>
You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. 'clang' is between 2x and 5x faster to compile, but at the moment it fails on one test at line 492. A non-yet solved problem with huge integer constants.<div class="m_-4093555691303815566HOEnZb"><div class="m_-4093555691303815566h5"><br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>