20070725-1.c: Split the spare field in two to avoid: error: width of 'spare' exceeds...
authorAndreas Krebbel <krebbel1@de.ibm.com>
Thu, 26 Jul 2007 09:02:58 +0000 (09:02 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 26 Jul 2007 09:02:58 +0000 (09:02 +0000)
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.

From-SVN: r126949

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

index 1960f7747db12e9b8ac3e31f089294341f2d2f75..99c96518ebdbbd5302f0786ce4d838d0f43b7dca 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 c7a0337c76fe7440810f2d20a46e0f2775c81db2..07b609cf8a46840580017f4ed2a0ebce264b87cd 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;
 };