Explicitly declare signed bitfields as signed.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27137 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gcc.c-torture/ChangeLog
gcc/testsuite/gcc.c-torture/execute/bf-sign-2.c

index 2d435aa..60f2943 100644 (file)
@@ -1,3 +1,8 @@
+1999-05-25  Nick Clifton  <nickc@cygnus.com>
+
+       * execute/bf-sign-2.c: Explicitly declare signed bitfields as
+       signed. 
+
 Wed Apr  7 23:08:59 1999  Jim Wilson  <wilson@cygnus.com>
 
        * execute/920501-7.c (main): Delete __I960__ ifndef.
index f0a8d52..e8e1717 100644 (file)
@@ -15,8 +15,8 @@
 
 struct X {
   unsigned int      u3:3;
-          long int  s31:31;
-          long int  s32:32;
+    signed long int  s31:31;
+    signed long int  s32:32;
   unsigned long int  u31:31;
   unsigned long int  u32:32;
   unsigned long long ull3 :3;