Does libgccjit support union definitions?

Dibyendu Majumdar mobile@majumdar.org.uk
Thu Jan 1 00:00:00 GMT 2015


On 10 June 2015 at 01:07, David Malcolm <dmalcolm@redhat.com> wrote:
> libgccjit does support union types; I just forgot to document them.
>
> The online docs are up-to-date, but they may be incomplete in places, as
> in this case.  Please let the mailing list know if you see any other
> things that aren't documented (or file them as bugs against the "jit"
> component).

Ok will do.

> For an example of using a union type, see this testcase:
> https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/jit.dg/test-accessing-union.c
>

Thanks that's very helpful.

Regards
Dibyendu



More information about the Jit mailing list