> > The 2 first fields uses 1 byte with GCC/Clang while they use > > sizeof(unsigned int) bytes with TCC. GCC/Clang pack the bit fields > > on the smaller type available. So, sizeof(struct mystruct1) = 4 with > > GCC/Clang and sizeof(struct mystruct1) = 8 with TCC. > > I tried your "bitfield.c" test with GCC and it failed on the 2nd > assertion. Hm ...
Arf, I did a mistake :( I started my tests with GCC and my modified TCC, it worked. Then I enhanced the test to cover additional cases, and I forgot to test again with GCC. So my TCC patch is not always conform to GCC behaviour... I'll update my patch. Sorry for the noise grischka. Regards, Didier
signature.asc
Description: PGP signature
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel