GCC JIT PR118587 - tentative patch 1

2025-01-24 Thread Basile Starynkevitch
Hello all, The following patch to GCC trunk commit 91fa9c15cc4fb9 could provide a (partial) fix to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118587 diff --git a/gcc/jit/jit-recording.h b/gcc/jit/jit-recording.h index 0ac9245c2df..5e54f02923f 100644 --- a/gcc/jit/jit-recording.h +++ b/gcc/jit/

[pushed: r15-7179] jit: fix for write_reproducer [PR117886]

2025-01-24 Thread David Malcolm
The original generated .c reproducer for PR jit/117886 did not compile, with: 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, | ^~~