GCC 14 jit API in C++ for creating union types?

Basile Starynkevitch basile@starynkevitch.net
Fri Dec 13 10:03:18 GMT 2024


Hello all,

On GNU Linux/Ubuntu/x86_64 I am using libgccjit++ (in
https://github.com/RefPerSys/RefPerSys/ - a GPLv3+ inference engine
project) but I cannot understand how to create in C++ a union type.


Today (Dec 13, 2024) the file
https://gcc.gnu.org/onlinedocs/jit/cp/topics/types.html
don't explain how to create a GCCJIT union type.

Is there a simple C++ example creating a union for libgccjit 14?

Thanks

-- 
Basile STARYNKEVITCH           <basile@starynkevitch.net>
8 rue de la Faïencerie
92340 Bourg-la-Reine,          France
http://starynkevitch.net/Basile & https://github.com/bstarynk 


More information about the Jit mailing list