Are struct and union assignments supported

David Malcolm dmalcolm@redhat.com
Thu Jan 1 00:00:00 GMT 2015


On Mon, 2015-06-15 at 18:52 -0400, David Malcolm wrote:
> On Mon, 2015-06-15 at 21:35 +0100, Dibyendu Majumdar wrote:
> > Can I assign structs and unions by value?
> 
> That ought to work, though I don't remember if we have a testcase for it
> yet.

It does indeed work, and we now have test coverage for both of these
(see gcc/testsuite/jit.dg/test-compound-assignment.c).




More information about the Jit mailing list