mirror of
https://github.com/frida/tinycc
synced 2024-11-24 08:39:37 +03:00
tccgen: initial the last member of union
This commit is contained in:
parent
6709933d78
commit
dd72577759
2
tccgen.c
2
tccgen.c
@ -4864,7 +4864,7 @@ static void decl_initializer(CType *type, Section *sec, unsigned long c,
|
||||
/* Coo: initial last member of union */
|
||||
while (f->next && f->next->c==f->c) {
|
||||
if ((f->type.t&VT_BITFIELD) && (f->next->type.t&VT_BITFIELD)
|
||||
&& ((f->type.t>>VT_STRUCT_SHIFT)&0x3f)==((f->next->type.t>>VT_STRUCT_SHIFT)&0x3f))
|
||||
&& ((f->type.t>>VT_STRUCT_SHIFT)&0x3f)!=((f->next->type.t>>VT_STRUCT_SHIFT)&0x3f))
|
||||
break;
|
||||
f = f->next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user