2007-07-26 Andreas Krebbel <krebbel1@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2007 09:02:58 +0000 (09:02 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2007 09:02:58 +0000 (09:02 +0000)
* gcc.dg/20070725-1.c: Split the spare field in two to avoid:
error: width of 'spare' exceeds its type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126949 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20070725-1.c

index 1960f77..99c9651 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-26  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * gcc.dg/20070725-1.c: Split the spare field in two to avoid:
+       error: width of 'spare' exceeds its type.
+
 2007-07-25  Nathan Froyd  <froydnj@codesourcery.com>
 
        * gcc.dg/sibcall-3.c: Skip on PowerPC targets when -mlongcall.
index c7a0337..07b609c 100644 (file)
@@ -34,7 +34,8 @@ struct tree_base
   unsigned lang_flag_6:1;
   unsigned visited:1;
 
-  unsigned spare:24;
+  unsigned spare1:16;
+  unsigned spare2:8;
   unsigned long  a;
 };