From mboxrd@z Thu Jan 1 00:00:00 1970 To: egcs@cygnus.com Subject: No Subject Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-id: <9557.950506721.5@NO-ID-FOUND.mhonarc.org> X-SW-Source: 1999-03n/msg00459.html Oh boy...It appears as though "gcc" on our machines has magically become gcc-2.7.2.3 rather than egcs-1.1.1 as it used to be. egcs in fact functions correctly. gcc-2.7.2.3 does not. Our sysadmins will be hearing about this... >:-[ Sorry to bother everyone with this "problem." However, the signedness problem still seems to be there: #include struct foo { int c:3; } x = { 7 }; int main(void) { printf("%d\n", x.c); return(0); } >>-drakh-> egcc fieldinit.c >>-drakh-> ./a.out -1 I think the output should be 7, since an "int" bitfield is supposed to be unsigned according to the i386 SysV ABI. >>-drakh-> egcc -v Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release) -Dave