If we have a structure or an array with a 32 bit member and when the structure / array is initialized with a constant expression, it is ignored and the element is initialized to zero instead.
How can this happen? What happened to the parsed expression tokens? This is a nasty bug.
struct {
int32 x;
int32 y;
} z;
struct z my = { 128 * 1024, 0x20000};
int32 myarr[] = { 128 *1024, 0x20000};
The first elements only get initialized to zero and the second element gets the right value.
Please fix the same.
Thanks
Sayee