[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are struct and union assignments supported



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).