[Gambas-user] News about the new just-in-time compiler
Jussi Lahtinen
jussi.lahtinen at gmail.com
Fri Jul 6 03:42:23 CEST 2018
Oh, the last project (NewJITtest-3) need to be ran in order to cause the
crash. IE compiling alone does not crash anything.
Jussi
On Fri, Jul 6, 2018 at 4:29 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com>
wrote:
> OK, here is something more serious. Crash with valid code. See the
> attachment.
> Also I think I find bug from the GNU compiler.
>
>
> Jussi
>
> On Fri, Jul 6, 2018 at 3:36 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com>
> wrote:
>
>> Note that the function pointer is given to the collection, not the
>> function value! IE it is invalid code, which causes the crash.
>>
>>
>> Jussi
>>
>> On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen <jussi.lahtinen at gmail.com>
>> wrote:
>>
>>> Excellent work!
>>> However, I think there are some bugs still to be squished. Here is one.
>>> See attached project.
>>>
>>>
>>> Jussi
>>>
>>> On Thu, Jul 5, 2018 at 8:20 AM, Benoît Minisini <g4mba5 at gmail.com>
>>> wrote:
>>>
>>>> Le 04/07/2018 à 00:04, Jussi Lahtinen a écrit :
>>>>
>>>>> I was in impression that I got unfreed stuff with latest revision, but
>>>>> I was wrong.
>>>>> I'm still unable to figure out what crashes the JIT in the big project.
>>>>>
>>>>>
>>>> Hi,
>>>>
>>>> With commit https://gitlab.com/gambas/gamb
>>>> as/commit/d3c93a05e4a15f65bc02024dc52ed941bc567659, I can run your
>>>> project without any crash and any error now.
>>>>
>>>> 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.
>>>>
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Benoît Minisini
>>>>
>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>>> ]----
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180706/87af56be/attachment-0001.html>
More information about the User
mailing list