This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing elements in VECTOR_CST


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]