[PATCH v1 0/1] Add new libgccjit `gcc_jit_rvalue_set_type` API
Guillaume Gomez via Sourceware Forge
forge-bot+imperio@forge-stage.sourceware.org
Thu Jul 16 17:28:25 GMT 2026
Hi gcc-patches mailing list,
Guillaume Gomez via Sourceware Forge <forge-bot+imperio@forge-stage.sourceware.org> has requested that the following forgejo pull request
be published on the mailing list.
Created on: 2026-07-16 15:38:28+00:00
Latest update: 2026-07-16 15:57:59+00:00
Changes: 7 changed files, 115 additions, 26 deletions
Head revision: imperio/gcc ref gccjit-rvalue-set_type commit 0d2dd0d8f60c2ed085c6251a95981dd417dc5ed4
Base revision: gcc/gcc ref trunk commit 9dab90d53198b050b594756a39d5097e62821a1c r17-2465-g9dab90d53198b0
Merge base: 9dab90d53198b050b594756a39d5097e62821a1c
Full diff url: https://forge.sourceware.org/gcc/gcc/pulls/190.diff
Discussion: https://forge.sourceware.org/gcc/gcc/pulls/190
Requested Reviewers:
We use this new API the Rust GCC backend. It was done a while ago in our GCC fork and I forgot to upstream it for a while.
Take a look at the test to see how this API is used.
Changed files:
- M: gcc/jit/jit-recording.cc
- M: gcc/jit/jit-recording.h
- M: gcc/jit/libgccjit++.h
- M: gcc/jit/libgccjit.cc
- M: gcc/jit/libgccjit.h
- M: gcc/jit/libgccjit.map
- M: gcc/testsuite/jit.dg/test-using-global.c
Guillaume Gomez (1):
Add new libgccjit `gcc_jit_rvalue_set_type` API
gcc/jit/jit-recording.cc | 77 +++++++++++++++++++-----
gcc/jit/jit-recording.h | 25 ++++----
gcc/jit/libgccjit++.h | 7 +++
gcc/jit/libgccjit.cc | 14 +++++
gcc/jit/libgccjit.h | 3 +
gcc/jit/libgccjit.map | 5 ++
gcc/testsuite/jit.dg/test-using-global.c | 10 ++-
7 files changed, 115 insertions(+), 26 deletions(-)
--
2.54.0
More information about the Jit
mailing list