[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2914: error in JIT compiler


http://gambaswiki.org/bugtracker/edit?object=BUG.2914&from=L21haW4-

Bernd BLUEMMEL reported a new bug.

Summary
-------

error in JIT compiler

Type             : Bug
Priority         : Medium
Gambas version   : 3.18
Product          : JIT compiler


Description
-----------

...
gb.jit: error: unable to compile JIT code of 'gb.report2':

In Datei, eingebunden von /tmp/gambas.1000/36759/jit/gb.report2.c:1:
/tmp/gambas.1000/36759/jit/gb.report2.c: In Funktion »jit_reportsizeparser_2_«:
/tmp/gambas.1000/36759/jit/gb.report2.c:409:36: Fehler: Übergabe des Arguments 1 von »JIT_PTR->load_class« wandelt eine Zahl in einen Zeiger um, ohne explizite Typkonvertierung [-Wint-conversion]
  409 |   if (({({PUSH_o(({ JIT.load_class(0xaaab6d596308); GET_o(0xaaab6d5b6b38, CLASS(0xaaab6d37e3a8)); }));PUSH_UNKNOWN(84);});PUSH_s(GET_s(OP + 24));CALL_UNKNOWN(87);POP_b();})) goto __L106;
      |                                    ^~~~~~~~~~~~~~
      |                                    |
      |                                    long int
/tmp/gambas.1000/36759/jit/jit.h:1593:47: Anmerkung: in Definition des Makros »PUSH_o«
 1593 | #define PUSH_o(_val) ({ *((GB_OBJECT *)sp) = (_val); GB.Ref(sp->_object.value); sp++; })
      |                                               ^~~~
/tmp/gambas.1000/36759/jit/gb.report2.c:409:36: Anmerkung: »void *« erwartet, aber Argument hat Typ »long int«
  409 |   if (({({PUSH_o(({ JIT.load_class(0xaaab6d596308); GET_o(0xaaab6d5b6b38, CLASS(0xaaab6d37e3a8)); }));PUSH_UNKNOWN(84);});PUSH_s(GET_s(OP + 24));CALL_UNKNOWN(87);POP_b();})) goto __L106;
      |                                    ^~~~~~~~~~~~~~
/tmp/gambas.1000/36759/jit/jit.h:1593:47: Anmerkung: in Definition des Makros »PUSH_o«
 1593 | #define PUSH_o(_val) ({ *((GB_OBJECT *)sp) = (_val); GB.Ref(sp->_object.value); sp++; })
      |                                               ^~~~


** 
** OOPS! INTERNAL ERROR. Program aborting, sorry! :-(
** Unable to compile JIT source file
** 
** Please send a bug report to the gambas bugtracker [1] or to the gambas mailing-list [2].
** [1] http://gambaswiki.org/bugtracker
** [2] https://lists.gambas-basic.org/listinfo/user
**


System information
------------------

Linux fedoraAsahi 6.9.11-400.asahi.fc40.aarch64+16k #1 SMP PREEMPT_DYNAMIC Fri Jul 26 14:07:41 UTC 2024 aarch64 GNU/Linux


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----