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