Re: [patch] Add CONSTRUCTOR_NO_CLEARING flag

2013-11-12 Thread Eric Botcazou
> in Ada 2012 it is allowed to omit components of aggregates (the equivalent > of initializers/constructors); in this case, the contents of the > corresponding fields in the record become undefined. Now the gimplifier > implements the C semantics of clearing the missing components, so this > patch

Re: [patch] Add CONSTRUCTOR_NO_CLEARING flag

2013-11-11 Thread Eric Botcazou
> Ok. Can you update doc/generic.texi? Thanks, done (it was still talking about TREE_LIST). -- Eric Botcazou

Re: [patch] Add CONSTRUCTOR_NO_CLEARING flag

2013-11-11 Thread Richard Biener
On Mon, Nov 11, 2013 at 11:55 AM, Eric Botcazou wrote: > Hi, > > in Ada 2012 it is allowed to omit components of aggregates (the equivalent of > initializers/constructors); in this case, the contents of the corresponding > fields in the record become undefined. Now the gimplifier implements the C

[patch] Add CONSTRUCTOR_NO_CLEARING flag

2013-11-11 Thread Eric Botcazou
Hi, in Ada 2012 it is allowed to omit components of aggregates (the equivalent of initializers/constructors); in this case, the contents of the corresponding fields in the record become undefined. Now the gimplifier implements the C semantics of clearing the missing components, so this patch i