Missing elements in VECTOR_CST

Mark Mitchell mark@codesourcery.com
Fri Sep 29 02:38:00 GMT 2006


Hans-Peter Nilsson wrote:

>> I think that front ends should be allowed to omits zeros for
>> initializers for variables with static storage duration, but not other
>> initializers, independent of what C99 says.
> 
> I think we "read past each other".  I was just countering what
> (I read as) your statement that for C semantics, only omitted
> subobjects in initialiers of objects with *static storage* are
> zero-initialized; i.e. that others are ok to be left undefined
> by an implementation.

Right, I think we were at cross-purposes; to be clear, I wasn't 
commenting at all about C semantics, but rather about what I think the 
internal GCC IR semantics should be.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc mailing list