https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117886
--- Comment #6 from Antoni <bouanto at zoho dot com> --- Created attachment 59794 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59794&action=edit Patch to fix the issue I cannot use your reproducer, I get the following error: main.c: In function ‘create_code’: main.c:600:9: error: initialization of ‘gcc_jit_rvalue *’ from incompatible pointer type ‘gcc_jit_lvalue *’ [-Wincompatible-pointer-types] 600 | local__1, | ^~~~~~~~ But I believe I've seen this issue on some targets and that this patch would fix this. Can you please try it?